#include <TPSurface.h>
Public Methods | |
| TPSurface () | |
| ~TPSurface () | |
| bool | redim (const SplineSpace &space1_, const SplineSpace &space2_) |
| bool | ok () const |
| SplineSpace | getSpaceNo (int i) const |
| NUMT | operator ((real) x, real y) |
| NUMT | derivative (int order1, int order2, real x, real y) |
| void | makeTable (const VecSimple(real) &x, const VecSimple(real) &y, MatSimple(NUMT) &table) |
| void | getCoef (MatSimple(NUMT) &mat) |
| void | setCoef (const MatSimple(NUMT) &coef) |
| void | interpolation (const VecSimple(real) &x, const VecSimple(real) &y, const ArrayGenSimple(NUMT) &data, bool repeat=false) |
| void | cubicInterpolation (const VecSimple(real) &x, const VecSimple(real) &y, const ArrayGenSimple(NUMT) &data, const char *bcond1="Free", const char *bcond2="Free", bool repeat=false) |
| void | scan (Is is) |
NAME: TPSurface - tensor product surface
DESCRIPTION:
This class is designed to handle specially the 2D tensor product spline surfaces.
|
|
No special initialization needed. |
|
|
|
|
|
carries out the cubic interpolation in both x and y directions. No spline space is needed to be ready when this function is called. It is inside the funtion where the two spaces are built up. |
|
|
calculates the derivative values. |
|
|
gets the coefficients. |
|
|
|
|
|
is the usual interpolation process. The two spline spaces must be ready when this function is called. |
|
|
fills a "MatSimple(real)" with function values. |
|
|
checks whether the spline is ready for usage. |
|
|
|
|
|
attaches new spline spaces. |
|
|
reads interpolation data directly from an ASCII file and carries out cubic interpolation. |
|
|
assigns the coefficients. |