|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensourcephysics.numerics.CubicSpline
| Constructor Summary | |
CubicSpline(double[] xdata,
double[] ydata)
Constructs a CubicSpline interpolating function from the given data. |
|
| Method Summary | |
double |
evaluate(double x)
Computes the interpolated y value for a given x value. |
void |
update(double[] xdata,
double[] ydata)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CubicSpline(double[] xdata,
double[] ydata)
xdata - double[]ydata - double[]| Method Detail |
public void update(double[] xdata,
double[] ydata)
public double evaluate(double x)
evaluate in interface Functionx -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||