public class CQuantity extends Quantity implements java.io.Externalizable
Constructor and Description |
---|
CQuantity(Quaternion num,
Unit unit) |
CQuantity(RealNum real,
RealNum imag,
RealNum jmag,
RealNum kmag,
Unit unit) |
CQuantity(RealNum real,
RealNum imag,
Unit unit) |
Modifier and Type | Method and Description |
---|---|
boolean |
isExact() |
boolean |
isZero() |
Quaternion |
number() |
void |
readExternal(java.io.ObjectInput in) |
Unit |
unit() |
void |
writeExternal(java.io.ObjectOutput out) |
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
public CQuantity(Quaternion num, Unit unit)
public Quaternion number()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException