public class FieldConsole.RationalPFMC extends NaryFunction
curNumberOfParameters, name, NaN, numberOfParameters| Constructor and Description |
|---|
RationalPFMC() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkNumberOfParameters(int n)
Checks the number of parameters of the function.
|
java.lang.Object |
eval(java.lang.Object[] args)
Evaluate the function
|
runasArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toStringpublic boolean checkNumberOfParameters(int n)
PostfixMathCommandcheckNumberOfParameters in interface PostfixMathCommandIcheckNumberOfParameters in class PostfixMathCommandn - number of parameters function will be called with.public java.lang.Object eval(java.lang.Object[] args)
throws EvaluationException
NaryFunctioneval in class NaryFunctionargs - arguments to the functionEvaluationException - if the calculation cannot be performedCopyright © 2018 Singular Systems http://www.singularsys.com/jep