Function, KnownFunctionpublic class KnownPolynomial extends PolynomialLeastSquareFit implements KnownFunction
coefficients| Modifier and Type | Method | Description |
|---|---|---|
KnownPolynomial |
clone() |
Gets a clone of this function.
|
boolean |
equals(java.lang.Object f) |
Determines if another KnownFunction 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 expression.
|
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 aDescription) |
Sets the description of the function.
|
void |
setName(java.lang.String aName) |
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.
|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitadd, add, coefficient, deflate, degree, derivative, divide, divide, divideWithRemainder, evalPolynomial, evaluate, getCoefficients, integral, integral, multiply, multiply, roots, rootsReal, subtract, subtract, toString, valueAndDerivativecomputeCoefficients, fitDatapublic int getParameterCount()
getParameterCount in interface KnownFunctionpublic java.lang.String getParameterName(int i)
getParameterName in interface KnownFunctioni - the parameter indexpublic java.lang.String getParameterDescription(int i)
getParameterDescription in interface KnownFunctioni - the parameter indexpublic double getParameterValue(int i)
getParameterValue in interface KnownFunctioni - the parameter indexpublic void setParameterValue(int i,
double value)
setParameterValue in interface KnownFunctioni - the parameter indexvalue - the valuepublic void setParameters(java.lang.String[] names,
double[] values,
java.lang.String[] descriptions)
setParameters in interface KnownFunctionnames - the parameter names (may be null)values - the parameter values (may be null)descriptions - the parameter descriptions (may be null)public java.lang.String getExpression(java.lang.String indepVarName)
getExpression in interface KnownFunctionindepVarName - the name of the independent variablepublic java.lang.String getName()
getName in interface KnownFunctionpublic void setName(java.lang.String aName)
setName in interface KnownFunctionaName - the namepublic java.lang.String getDescription()
getDescription in interface KnownFunctionpublic void setDescription(java.lang.String aDescription)
setDescription in interface KnownFunctionaDescription - the descriptionpublic KnownPolynomial clone()
clone in interface KnownFunctionclone in class java.lang.Objectpublic boolean equals(java.lang.Object f)
equals in interface KnownFunctionequals in class java.lang.Objectf - the KnownFunction to test