|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jcurl.math.R1RNFunctionImpl
org.jcurl.math.R1R1Function
org.jcurl.math.CSplineInterpolator
public class CSplineInterpolator
The numerical algorithms are adapted from "Meyberg/Vachenauer": Hoehere
Mathematik I, second edition. Could this be based on
CurveCombinedwith 3-dimensional polynomes?
| Constructor Summary | |
|---|---|
CSplineInterpolator()
Create a new spline interpolator with an initial capacity of 100 points. |
|
CSplineInterpolator(int capacity)
Create a new spline interpolator with the given initial capacity. |
|
| Method Summary | |
|---|---|
void |
add(double x,
double y)
Add a point and discard the splines. |
double |
at(double x,
int C)
Convenience wrapper. |
double |
getMaxX()
|
double |
getMinX()
|
void |
reset()
Discard the buffered points and splines. |
| Methods inherited from class org.jcurl.math.R1R1Function |
|---|
at, at |
| Methods inherited from class org.jcurl.math.R1RNFunctionImpl |
|---|
at, at, dim |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSplineInterpolator()
CSplineInterpolator(int)public CSplineInterpolator(int capacity)
capacity - | Method Detail |
|---|
public void add(double x,
double y)
x - y -
public double at(double x,
int C)
at in class R1R1Functionx - locationC - n'th derivative (0=value,1=incline,2=acceleration)
R1R1Function.at(double, int, int)public double getMaxX()
public double getMinX()
public void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||