#include <Intp.h>
Inherits Base.
Inheritance diagram for EndCube:

Public Types | |
| DDY = 0 | |
| enum | DTYPE { DDY = 0, DY, DTYPE_CNT } |
| DTYPE_CNT | |
| DY | |
Public Member Functions | |
| EndCube (const EndCube &dc) | |
| EndCube (yType yDLo, enum EndCube< xType, yType >::DTYPE eDLo, yType yDHi, enum EndCube< xType, yType >::DTYPE eDHi) | |
| EndCube (void) | |
| yType | getDerivative (enum Base::BOUND iBnd) const |
| enum EndCube< xType, yType >::DTYPE | getType (enum Base::BOUND iBnd) const |
| bool | operator!= (const EndCube &dc) const |
| bool | operator== (const EndCube &dc) const |
| void | setDerivative (yType yDeriv, enum EndCube< xType, yType >::DTYPE dType, enum Base::BOUND iBnd) |
| ~EndCube (void) | |
Friends | |
| std::ostream & | operator<< (std::ostream &ostr, const EndCube &ec) |
This class creates a software interface for defining independent data in the interplation of tabular data with cubic splines. Cubic spline interpolation is implemented in the class calc::Cube. When tabulated data is supplied for cubic splines, two additional derivative end point values must be supplied to fully define the spline coefficients.
The declaration typename <xType> specifies the form of independent variables used in interpolation calculations. These independent variables are not used explicitly in this class, but are required to interface with other classes in interpolation calculations. The declaration typename <yType> specifies the form of derivative variables used in interpolation calculations. In general, the <yType> variables should be the equal or superset of the <xType> variables.
| enum DTYPE |
| EndCube | ( | void | ) |
Constructor initializes a derivative identifier object.
| EndCube | ( | yType | yDLo, | |
| enum EndCube< xType, yType >::DTYPE | eDLo, | |||
| yType | yDHi, | |||
| enum EndCube< xType, yType >::DTYPE | eDHi | |||
| ) |
Constructor initializes a derivative identifier object to the specified derivative values and derivative types.
| yDLo | derivative value to assign to a dimension lower bound (variable units) <yType> | |
| eDLo | derivative type to assign to a dimension lower bound
| |
| yDHi | derivative value to assign to a dimension upper bound (variable units) <yType> | |
| eDHi | derivative type to assign to a dimension upper bound
|
Copy constructor initializes a derivative identifier object from the specified existing derivative identifier object.
| dc | a reference to a derivative identifier object |
| ~EndCube | ( | void | ) |
Destructor is a place holder, no dynamic memory is allocated.
| yType getDerivative | ( | enum Base::BOUND | iBnd | ) | const |
Function retrieves the lower / upper end point derivative value from a derivative identifier object.
| iBnd | boundary index |
| enum EndCube< xType, yType >::DTYPE getType | ( | enum Base::BOUND | iBnd | ) | const |
Function retrieves a derivative type of the lower / upper end point from a derivative identifier object.
| iBnd | boundary index |
| bool operator!= | ( | const EndCube< xType, yType > & | dc | ) | const |
Function overloads the inequality operator !=. The function compares two derivative identifier objects.
| dc | reference to a derivative identifier object to compare |
| bool operator== | ( | const EndCube< xType, yType > & | dc | ) | const |
Function overloads the equality operator ==. The function compares two derivative identifier objects.
| dc | reference to a derivative identifier object to compare |
| void setDerivative | ( | yType | yDeriv, | |
| enum EndCube< xType, yType >::DTYPE | dType, | |||
| enum Base::BOUND | iBnd | |||
| ) |
Function assigns lower / upper bound derivative data to a derivative identifier object.
| yDeriv | derivative value to assign to a spline dimension bound end point (variable units) <yType> | |
| dType | derivative flag to assign to a spline dimension end point
| |
| iBnd | boundary index |
| std::ostream& operator<< | ( | std::ostream & | ostr, | |
| const EndCube< xType, yType > & | ec | |||
| ) | [friend] |
Function overloads the bitwise left shift operator <<. The function prints defining object parameters to the specified stream.
| ostr | a reference to a stream | |
| ec | a reference to a derivative identifier object |
0.5,0,-0.1,1. The lower bound value and enumerator of the object data set precedes the upper bound value and enumerator. The enumeration EndCube::DTYPE is a two value enumeration with a value 0 indicating a second derivative and 1 indicating a first derivative value.
1.4.7