|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.taylor.TaylorDouble
org.jscience.mathematics.analysis.taylor.TaylorDependant
public class TaylorDependant
Implementation of an unknown function x(t) of the independent variable t.
When performing calculations, either the Taylor coefficients must be known and set with setCoeff,
| Field Summary | |
|---|---|
protected TaylorDouble |
rhs
TaylorDouble expression for the ODE governing this variable. |
| Fields inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble |
|---|
coeffs, constant, independent, order |
| Constructor Summary | |
|---|---|
TaylorDependant()
Construct new dependent variable. |
|
TaylorDependant(double[] xn)
Construct new dependent variable of which the first n Taylor coefficients are xn[]. |
|
| Method Summary | |
|---|---|
void |
calcOrder(int k)
If an ODE governing this TaylorDependant is provided, the kth Taylor coefficient can be determined if right-hand-side function is known to order k-1. |
int |
flops(int k)
Return the number of flops required to calculate the kth coefficient of this TaylorDouble. |
void |
reset()
This method is empty, use reset(double x0) instead. |
void |
reset(double x0)
Signal shift of expansion point. |
void |
setCoeff(int k,
double d)
Set the kth Taylor coefficient. |
void |
setOde(TaylorDouble f)
Set ODE governing this TaylorDependant. |
| Methods inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble |
|---|
evaluate, expandToOrder, getCoeff, getOrder, setToLength, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected TaylorDouble rhs
| Constructor Detail |
|---|
public TaylorDependant()
public TaylorDependant(double[] xn)
| Method Detail |
|---|
public void calcOrder(int k)
calcOrder in class TaylorDouble
public void setCoeff(int k,
double d)
public void setOde(TaylorDouble f)
public void reset()
reset in class TaylorDoublepublic void reset(double x0)
public int flops(int k)
flops in class TaylorDouble
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||