|
|||||||||
| 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.TaylorIndependant
public class TaylorIndependant
Implementation of a function that is equal to the independent variable t.
The expansion coefficients of y(t) = t are y0 = t0, y1 = 1 and yk = 0 otherwise.
| Field Summary |
|---|
| Fields inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble |
|---|
coeffs, constant, independent, order |
| Constructor Summary | |
|---|---|
TaylorIndependant(double t0)
Construct new independent variable with expansion point t0. |
|
| Method Summary | |
|---|---|
void |
calcOrder(int k)
Set the kth coefficient - all except the two first are zero. |
double |
evaluate(double h)
Evaluation is simply t0+h |
void |
reset()
This method is empty; use reset(t0) instead. |
void |
reset(double t0)
Shift expansion point. |
| Methods inherited from class org.jscience.mathematics.analysis.taylor.TaylorDouble |
|---|
expandToOrder, flops, getCoeff, getOrder, setToLength, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TaylorIndependant(double t0)
| Method Detail |
|---|
public void calcOrder(int k)
calcOrder in class TaylorDoublepublic double evaluate(double h)
evaluate in class TaylorDoublepublic void reset()
reset in class TaylorDoublepublic void reset(double t0)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||