|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnr.PolynomialExtrapolator
public class PolynomialExtrapolator
Extrapolator based on pzextr in Numberical Recipes section 16.4
| Constructor Summary | |
|---|---|
PolynomialExtrapolator()
Create a new instance of PolynomialExtrapolator with a default initial size. |
|
PolynomialExtrapolator(int n)
Create a new instance of PolynomialExtrapolator with initial tableau size n |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolynomialExtrapolator(int n)
public PolynomialExtrapolator()
| Method Detail |
|---|
public void add(double x,
Vec y,
Vec dy)
Extrapolator
add in interface Extrapolatorx - 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.public void reset()
Extrapolator
reset in interface Extrapolatorpublic void setTarget(double x)
Extrapolator
setTarget in interface Extrapolatorx - the new target xpublic double getTarget()
Extrapolator
getTarget in interface Extrapolator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||