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
public class CQuantity extends Quantity implements Externalizable
General Cartesian Quaternion quantity.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isExact()
boolean
isZero()
Quaternion
number()
void
readExternal(ObjectInput in)
Unit
unit()
void
writeExternal(ObjectOutput out)
-
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
-
-
-
-
Method Detail
-
number
public Quaternion number()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-