#include <NIntp.h>
Inherits NIntp< xType, yType >.
Inheritance diagram for NPoly:

Public Member Functions | |
| NPoly (const xType *const *arXn, const yType *arYn, const int *arNn, const int *arOn, int nDimen) | |
| NPoly (const xType *const *arXn, const yType *arYn, const int *arNn, int nDimen) | |
| NPoly (const NIntp< xType, yType > &ni) | |
| NPoly (const NPoly< xType, yType > &ni) | |
| NPoly< xType, yType > * | reduce (NPoly< xType, yType > *&np, yType *&arYm, xType x0) |
| ~NPoly (void) | |
This class implements arrays of single-dimension interpolation polynomial (calc::Poly) objects for multi-dimensional interpolation tables. All of the data capabilities and restrictions inherent in interpolation polynomial (calc::Poly) objects carry through to multi-dimensional polynomial interpolations.
The declaration typename <xType> specifies the form of independent variables used in interpolation calculations. The declaration typename <yType> specifies the form of solution variables used in interpolation calculations. In general, the <yType> variables should be the equal or superset of the <xType> variables.
Copy constructor initializes an n-Dimension polynomial interpolation object from the specified existing interpolation object.
| ni | a reference to an n-Dimension polynomial interpolation object |
Copy constructor initializes an n-Dimension polynomial interpolation object from the specified existing interpolation object.
| ni | a reference to an n-Dimension polynomial interpolation object |
| ~NPoly | ( | void | ) |
Destructor frees allocated memory.
| NPoly | ( | const xType *const * | arXn, | |
| const yType * | arYn, | |||
| const int * | arNn, | |||
| int | nDimen | |||
| ) |
Constructor initializes an n-Dimension polynomial interpolation object using the default polynomial control point count.
| arXn | a pointer to an n-Dimension independent value interpolation array (x units) | |
| arYn | a pointer to an n-Dimension dependent value interpolation array (y units) | |
| arNn | a pointer to an array containing data counts by dimension for the specified arrays arXn and arYn | |
| nDimen | number of dimensions |
| NPoly | ( | const xType *const * | arXn, | |
| const yType * | arYn, | |||
| const int * | arNn, | |||
| const int * | arOn, | |||
| int | nDimen | |||
| ) |
Constructor initializes an n-Dimension polynomial interpolation object with the specified polynomial point count by dimension array.
| arXn | a pointer to an n-Dimension independent value interpolation array (x units) | |
| arYn | a pointer to an n-Dimension dependent value interpolation array (y units) | |
| arNn | a pointer to an array containing data counts by dimension for the specified arrays arXn and arYn | |
| arOn | a pointer to an n-Dimension polynomial point count by dimension array | |
| nDimen | number of dimensions |
| calc::NPoly< xType, yType > * reduce | ( | NPoly< xType, yType > *& | np, | |
| yType *& | arYm, | |||
| xType | x0 | |||
| ) |
Function reduces the object's interpolation table by one dimension.
| x0 | interpolation value to reduce the first dimension at (x units) | |
| np | a pointer reference to an uninitialized interpolation object to store the calculated data in | |
| arYm | a pointer reference to the calculated reduced dimension dependent interpolation array evaluated at x0 (y units) |
1.4.7