|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KnownFunction
Title: KnownFunction Description: A function that provides its name, expression and parameters to users.
Method Summary | |
---|---|
java.lang.String |
getExpression(java.lang.String indepVarName)
Gets the equation. |
java.lang.String |
getName()
Gets the name of the function. |
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 |
---|
int getParameterCount()
java.lang.String getParameterName(int i)
i
- the parameter index
double getParameterValue(int i)
i
- the parameter index
void setParameterValue(int i, double value)
i
- the parameter indexvalue
- the valuejava.lang.String getExpression(java.lang.String indepVarName)
indepVarName
- the name of the independent variable
java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |