org.jgraph.util
public class Spline extends Object
Constructor Summary | |
---|---|
Spline(double[] xx, double[] yy)
Creates a new Spline. |
Method Summary | |
---|---|
boolean | checkValues()
Used to check the correctness of this spline |
double | getDx(double x)
Returns the first derivation at x. |
double | getFastValue(double x)
Returns an interpolated value. |
double | getValue(double x)
Returns an interpolated value. |
void | setValues(double[] xx, double[] yy)
Set values for this Spline. |
void | solve(double[][] A, double[] b)
Solves Ax=b and stores the solution in b. |
Parameters: xx yy
Parameters: x
Returns: the first derivation at x
Parameters: x
Returns: the interpolated value
Parameters: x
Returns: the interpolated value
Parameters: xx yy