Package jscl.math.numeric
Class Complex
java.lang.Object
jscl.math.numeric.Numeric
jscl.math.numeric.Complex
- All Implemented Interfaces:
Comparable,jscl.editor.rendering.MathObject,Arithmetic
-
Method Summary
-
Method Details
-
add
-
add
-
subtract
-
subtract
-
multiply
-
multiply
-
divide
- Throws:
ArithmeticException
-
divide
- Specified by:
dividein classNumeric- Throws:
ArithmeticException
-
negate
-
signum
public int signum() -
valueof
-
valueof
-
magnitude
public double magnitude() -
magnitude2
public double magnitude2() -
angle
public double angle() -
log
-
exp
-
inverse
-
conjugate
-
realPart
public double realPart() -
imaginaryPart
public double imaginaryPart() -
compareTo
-
compareTo
-
valueOf
-
toString
-
toMathML
-