Public Member Functions | |
Spline (double[] xx, double[] yy) | |
void | setValues (double[] xx, double[] yy) |
double | getValue (double x) |
double | getDx (double x) |
void | solve (double[][] A, double[] b) |
Private Member Functions | |
void | calculateCoefficients () |
Private Attributes | |
double[] | xx |
double[] | yy |
double[] | a |
double[] | b |
double[] | c |
double[] | d |
|
Creates a new Spline.
|
|
Calculates the Spline coefficients. |
|
Returns the first derivation at x.
|
|
Returns an interpolated value.
|
|
Set values for this Spline.
|
|
Solves Ax=b and stores the solution in b. |
|
|
|
|
|
|
|
|
|
|
|
|