|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Extrapolator
implements an extrapolation calculation routine for a vector function. Based on routines pzextr and rzextr from Numerical Recipes section 16.4. Takes a series of doubles, x and corresponding Vec values, y, and extrapolates down to a target x.
Method Summary | |
---|---|
void |
add(double x,
Vec y,
Vec dy)
add a new data set to the extrapolation |
double |
getTarget()
the target x value |
void |
reset()
reset the extrapolation (discard all previous points) |
void |
setTarget(double x)
change the target |
Method Detail |
---|
void add(double x, Vec y, Vec dy)
x
- the input x valuey
- the input y value. On return, is updated to
the value of y extrapolated to x == target X.dy
- on output, updated to the error estimate in each element of y.
If dy == null, then is ignored.void setTarget(double x)
x
- the new target xdouble getTarget()
void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |