|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: KnownFunction Description: A function that provides its equation and parameters to users.
| Method Summary | |
java.lang.String |
getEquation(java.lang.String indepVarName)
Gets the equation. |
int |
getParameterCount()
Gets the parameter count. |
java.lang.String |
getParameterName(int i)
Gets a parameter name. |
double |
getParameterValue(int i)
Gets a parameter value. |
void |
setParameterValue(int i,
double value)
Sets a parameter value. |
| Methods inherited from interface org.opensourcephysics.numerics.Function |
evaluate |
| Method Detail |
public int getParameterCount()
public java.lang.String getParameterName(int i)
i - the parameter index
public double getParameterValue(int i)
i - the parameter index
public void setParameterValue(int i,
double value)
i - the parameter indexvalue - the valuepublic java.lang.String getEquation(java.lang.String indepVarName)
indepVarName - the name of the independent variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||