Package gnu.math
Class CQuantity
java.lang.Object
java.lang.Number
gnu.math.Numeric
gnu.math.Quantity
gnu.math.CQuantity
- All Implemented Interfaces:
Externalizable
,Serializable
General Cartesian Quaternion quantity.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gnu.math.Quantity
abs, add, add, addReversed, compare, compare, compareReversed, dimensions, div, divide, divReversed, doubleImagValue, doubleJmagValue, doubleKmagValue, doubleValue, im, imValue, jm, jmValue, km, kmValue, make, make, make, mul, mulReversed, neg, re, reValue, times, toString
Methods inherited from class gnu.math.Numeric
add, asNumericOrNull, div_inv, equals, floatValue, geq, grt, intValue, longValue, mul_ident, power, sub, toExact, toInexact, toString
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Constructor Details
-
CQuantity
-
CQuantity
-
CQuantity
-
-
Method Details
-
number
-
unit
-
isExact
public boolean isExact() -
isZero
public boolean isZero() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-