|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.singularsys.jep.functions.PostfixMathCommand com.singularsys.jep.functions.BinaryFunction com.singularsys.jep.misc.functions.Remainder
public class Remainder
Calculates the remainder and quotient the arguments. Three different algorithms can be used
Modulus
,
Serialized FormNested Class Summary | |
---|---|
static class |
Remainder.Type
|
Field Summary |
---|
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand |
---|
curNumberOfParameters, name, NaN, numberOfParameters |
Constructor Summary | |
---|---|
Remainder(Remainder.Type type)
|
Method Summary | |
---|---|
java.lang.Object |
eval(java.lang.Object l,
java.lang.Object r)
|
double |
evaluate(double D,
double d)
|
Methods inherited from class com.singularsys.jep.functions.BinaryFunction |
---|
run |
Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand |
---|
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, checkStack, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Remainder(Remainder.Type type)
type
- Method Detail |
---|
public java.lang.Object eval(java.lang.Object l, java.lang.Object r) throws EvaluationException
eval
in class BinaryFunction
EvaluationException
public double evaluate(double D, double d)
evaluate
in interface RealBinaryFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |