Package com.singularsys.jep.functions
Class ArcTangent2
- java.lang.Object
-
- com.singularsys.jep.functions.PostfixMathCommand
-
- com.singularsys.jep.functions.BinaryFunction
-
- com.singularsys.jep.functions.ArcTangent2
-
- All Implemented Interfaces:
PostfixMathCommandI
,RealBinaryFunction
,java.io.Serializable
public class ArcTangent2 extends BinaryFunction implements RealBinaryFunction
atan2(y, x) Returns the angle whose tangent is y/x.- Author:
- nathan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, name, NaN, numberOfParameters
-
-
Constructor Summary
Constructors Constructor Description ArcTangent2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
eval(java.lang.Object lo, java.lang.Object ro)
double
evaluate(double l, double r)
-
Methods inherited from class com.singularsys.jep.functions.BinaryFunction
instanceOf, instanceOf, run
-
Methods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, checkNumberOfParameters, getName, getNumberOfParameters, setCurNumberOfParameters, setName, toString, toString
-
-
-
-
Method Detail
-
eval
public java.lang.Object eval(java.lang.Object lo, java.lang.Object ro) throws EvaluationException
- Specified by:
eval
in classBinaryFunction
- Throws:
EvaluationException
-
evaluate
public double evaluate(double l, double r)
- Specified by:
evaluate
in interfaceRealBinaryFunction
-
-