|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.webcompmath.functions.ImplicitFunction
public class ImplicitFunction
Field Summary | |
---|---|
ExpressionInput |
expressionInput
|
ZeroFinder |
zeroFinder
|
Constructor Summary | |
---|---|
ImplicitFunction()
|
|
ImplicitFunction(java.lang.String equation)
|
Method Summary | |
---|---|
double |
dydxExplicit(double xIn)
Making a Table function to save (x,y) pairs for a y'(x) Never save NaN in history |
double |
dydxExplicit(double xIn,
double yIn)
Derivative of y(x) at xIn (given yIn) If y(x) is known ... |
ExpressionFunction |
getDefiningEquation()
|
ExpressionFunction |
getDydxImplicit()
Vectorfield (-Dx/Dy)(x,y) from equation(x,y) = 0 |
TableFunction |
getDyDxRemembered()
The computed derivative y'(x) if the history switch was on. |
java.lang.String |
getEquation()
|
double |
getEquationValueIn(double xIn,
double yIn)
The value of the given equation(x,y) |
ExpressionFunction |
getFGivenX()
The function equation(givenX, variable) of variable |
boolean |
getHistory()
Status of the history switch |
Parser |
getParser()
|
int |
getTableStyle()
Style of the TableFunctions |
double |
getXStart()
|
Variable |
getXVar()
|
TableFunction |
getYRemembered()
If the history switch is on, computed y(x) values are remembered in a TableFunction |
double |
getYStart()
|
Variable |
getYVar()
|
ZeroFinder |
getZeroFinder()
The zeroFinder used. |
void |
initialization()
To initialize the important parts. |
void |
setDelta(double d)
Set the inteval for the ZeroFinder [ystart-delta, ystart+delta] d may be negative. |
void |
setEquation(java.lang.String equation)
|
void |
setFGivenX(double xNew)
Compute the function at a given x value. |
void |
setHistory(boolean b)
Set the history switch |
void |
setTableStyle(int i)
Set the Style of the TableFunction(s) |
void |
setYStart(double testY)
Set the startvalue for the ZeroFinder |
double |
y_x(double start)
The value y(x) of an implicit given function from equation = 0. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public ExpressionInput expressionInput
public ZeroFinder zeroFinder
Constructor Detail |
---|
public ImplicitFunction()
public ImplicitFunction(java.lang.String equation)
Method Detail |
---|
public void initialization()
public java.lang.String getEquation()
public void setEquation(java.lang.String equation)
public ExpressionFunction getDefiningEquation()
public double getXStart()
public void setFGivenX(double xNew)
public double getYStart()
public double y_x(double start)
start
-
public double dydxExplicit(double xIn)
public double dydxExplicit(double xIn, double yIn)
xIn
- yIn
-
public ExpressionFunction getDydxImplicit()
public Parser getParser()
public Variable getXVar()
public Variable getYVar()
public double getEquationValueIn(double xIn, double yIn)
xIn
- yIn
-
public ExpressionFunction getFGivenX()
public void setYStart(double testY)
public void setDelta(double d)
d
- public ZeroFinder getZeroFinder()
public TableFunction getYRemembered()
public boolean getHistory()
public void setHistory(boolean b)
b
- public int getTableStyle()
public void setTableStyle(int i)
i
- public TableFunction getDyDxRemembered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |