Function
KnownPolynomial
, UserFunction
public interface KnownFunction extends Function
Modifier and Type | Method | Description |
---|---|---|
KnownFunction |
clone() |
Gets a clone of the function.
|
boolean |
equals(java.lang.Object f) |
Determines if another Object is the same as this one.
|
java.lang.String |
getDescription() |
Gets the description of the function.
|
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 |
getParameterDescription(int i) |
Gets a parameter description.
|
java.lang.String |
getParameterName(int i) |
Gets a parameter name.
|
double |
getParameterValue(int i) |
Gets a parameter value.
|
void |
setDescription(java.lang.String description) |
Sets the description of the function.
|
void |
setName(java.lang.String name) |
Sets the name of the function.
|
void |
setParameters(java.lang.String[] names,
double[] values,
java.lang.String[] descriptions) |
Sets the parameters.
|
void |
setParameterValue(int i,
double value) |
Sets a parameter value.
|
int getParameterCount()
java.lang.String getParameterName(int i)
i
- the parameter indexdouble getParameterValue(int i)
i
- the parameter indexjava.lang.String getParameterDescription(int i)
i
- the parameter indexvoid setParameterValue(int i, double value)
i
- the parameter indexvalue
- the valuevoid setParameters(java.lang.String[] names, double[] values, java.lang.String[] descriptions)
names
- the parameter namesvalues
- the parameter valuesdescriptions
- the parameter descriptionsjava.lang.String getExpression(java.lang.String indepVarName)
indepVarName
- the name of the independent variablejava.lang.String getName()
void setName(java.lang.String name)
name
- the namejava.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the descriptionKnownFunction clone()
boolean equals(java.lang.Object f)
equals
in class java.lang.Object
f
- the Object to test