golib
0.5
|
Cubic interpolating splines. More...
#include <gocubicspline.h>
Public Member Functions | |
CubicSpline (const goMath::Matrix< T > &points) | |
CubicSpline (const goMath::Vector< T > &pm1, const goMath::Vector< T > &p0, const goMath::Vector< T > &p1, const goMath::Vector< T > &p2) | |
goAutoPtr< goMath::Vector< T > > | operator() (T t) const |
bool | eval (T t, goMath::Vector< T > &ret) const |
bool | D (T t, goMath::Vector< T > &ret) const |
T | integrate (T t1, T t2) |
Integrate the function interpolated by this object. More... | |
bool | fit (const goMath::Matrix< T > &points) |
bool | fit (const goMath::Vector< T > &pm1, const goMath::Vector< T > &p0, const goMath::Vector< T > &p1, const goMath::Vector< T > &p2) |
Cubic interpolating splines.
T goMath::CubicSpline< T >::integrate | ( | T | t1, |
T | t2 | ||
) |
Integrate the function interpolated by this object.
This makes only sense when the interpolating spline represents a one dimensional function.
t1 | Start point of integration |
t2 | End point of integration |