#include <NuxCore/Math/Spline.h>
Public Member Functions |
| CubicSpline () |
| CubicSpline (const CubicSpline &Other) |
CubicSpline & | operator= (const CubicSpline &Other) |
| CubicSpline (int numpoint, std::vector< double > x_array, std::vector< double > y_array, int ibcbeg=0, double ybcbeg=0, int ibcend=0, double ybcend=0) |
void | Set (int numpoint, std::vector< double > x_array, std::vector< double > y_array, int ibcbeg=0, double ybcbeg=0, int ibcend=0, double ybcend=0) |
| ~CubicSpline () |
double * | Compute (int ibcbeg, double ybcbeg, int ibcend, double ybcend) |
double | Eval (double tval) |
double * | SolveTridiag (int n, double a[], double b[]) |
Data Fields |
double * | t |
double * | y |
double * | ddy |
int | ibcbeg_ |
double | ybcbeg_ |
int | ibcend_ |
double | ybcend_ |
int | np |
Constructor & Destructor Documentation
nux::CubicSpline::CubicSpline |
( |
| ) |
|
nux::CubicSpline::CubicSpline |
( |
const CubicSpline & |
Other | ) |
|
nux::CubicSpline::CubicSpline |
( |
int |
numpoint, |
|
|
std::vector< double > |
x_array, |
|
|
std::vector< double > |
y_array, |
|
|
int |
ibcbeg = 0 , |
|
|
double |
ybcbeg = 0 , |
|
|
int |
ibcend = 0 , |
|
|
double |
ybcend = 0 |
|
) |
| |
nux::CubicSpline::~CubicSpline |
( |
| ) |
|
Member Function Documentation
double* nux::CubicSpline::Compute |
( |
int |
ibcbeg, |
|
|
double |
ybcbeg, |
|
|
int |
ibcend, |
|
|
double |
ybcend |
|
) |
| |
double nux::CubicSpline::Eval |
( |
double |
tval | ) |
|
void nux::CubicSpline::Set |
( |
int |
numpoint, |
|
|
std::vector< double > |
x_array, |
|
|
std::vector< double > |
y_array, |
|
|
int |
ibcbeg = 0 , |
|
|
double |
ybcbeg = 0 , |
|
|
int |
ibcend = 0 , |
|
|
double |
ybcend = 0 |
|
) |
| |
double* nux::CubicSpline::SolveTridiag |
( |
int |
n, |
|
|
double |
a[], |
|
|
double |
b[] |
|
) |
| |
Field Documentation
The documentation for this class was generated from the following file: