|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.formula.function.builtin.Arctangent2
public final class Arctangent2
arctan2(y,x): arc-tangent of a number.
Constructor Summary | |
---|---|
Arctangent2()
|
Method Summary | |
---|---|
Decimal |
calculate(Decimal... aArgs)
Returns a value in the range -pi..+pi. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Arctangent2()
Method Detail |
---|
public Decimal calculate(Decimal... aArgs)
This function takes two arguments, y and x, corresponding to Cartesian coordinates. Note the order of the arguments (y comes first).
Converts the position to polar coordinates (r,θ), and returns the value of θ.
calculate
in interface Function
aArgs
- 0 or more arguments to the function.
|
Formula 1.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |