|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.util.Spline
public class Spline
Interpolates given values by B-Splines.
Constructor Summary | |
---|---|
Spline(double[] xx,
double[] yy)
Creates a new Spline. |
Method Summary | |
---|---|
double |
getDx(double x)
Returns the first derivation at x. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Spline(double[] xx, double[] yy)
xx
- yy
- Method Detail |
---|
public void setValues(double[] xx, double[] yy)
xx
- yy
- public double getValue(double x)
x
-
public double getDx(double x)
x
-
public void solve(double[][] A, double[] b)
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |