Class CComplex
java.lang.Object
java.lang.Number
gnu.math.Numeric
gnu.math.Quantity
gnu.math.Quaternion
gnu.math.Complex
gnu.math.CComplex
- All Implemented Interfaces:
Externalizable, Serializable
General Cartesian Complex number.
Use this instead of DComplex if you want exact complex numbers.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Complex
abs, add, add, addReversed, angle, classifyFinite, colatitude, compare, compare, complexPart, conjugate, cos, div, divide, divReversed, equals, equals, exp, imMinusOne, imOne, isExact, isZero, jm, km, log, longitude, make, make, mul, mulReversed, neg, neg, polar, polar, power, sin, sqrt, tan, times, toExact, toInexact, toString, unitQuaternion, unitVector, vectorPartMethods inherited from class Quaternion
add, compare, divide, doubleImagValue, doubleJmagValue, doubleKmagValue, doubleRealValue, doubleValue, equals, jmMinusOne, jmOne, kmMinusOne, kmOne, longValue, make, make, neg, number, polar, polar, power, timesMethods inherited from class Quantity
add, compare, compareReversed, dimensions, divide, imValue, jmValue, kmValue, make, make, make, reValue, times, unitMethods inherited from class Numeric
add, asNumericOrNull, div_inv, floatValue, geq, grt, intValue, mul_ident, power, sub, toStringMethods inherited from class Number
byteValue, shortValue
-
Constructor Details
-
CComplex
public CComplex() -
CComplex
-
-
Method Details
-
re
-
im
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-