public class CQuaternion extends Quaternion implements java.io.Externalizable
| Constructor and Description |
|---|
CQuaternion() |
CQuaternion(RealNum real,
RealNum imag,
RealNum jmag,
RealNum kmag) |
| Modifier and Type | Method and Description |
|---|---|
RealNum |
im()
The value of the imaginary component, as a RealNum.
|
RealNum |
jm()
The value of the "j" component, as a RealNum.
|
RealNum |
km()
The value of the "k" component, as a RealNum.
|
RealNum |
re()
The value of the real component, as a RealNum.
|
void |
readExternal(java.io.ObjectInput in) |
void |
writeExternal(java.io.ObjectOutput out) |
abs, add, add, addReversed, angle, classifyFinite, colatitude, compare, compare, complexPart, conjugate, cos, div, divide, divReversed, doubleImagValue, doubleJmagValue, doubleKmagValue, doubleRealValue, doubleValue, equals, equals, exp, isExact, isZero, jmMinusOne, jmOne, kmMinusOne, kmOne, log, longitude, longValue, make, make, mul, mulReversed, neg, neg, number, polar, polar, power, sin, sqrt, tan, times, toExact, toInexact, toString, unitQuaternion, unitVector, vectorPartadd, compare, compareReversed, dimensions, divide, imValue, jmValue, kmValue, make, make, make, reValue, times, unitpublic RealNum re()
Quantitypublic RealNum im()
Quantitypublic RealNum jm()
Quantitypublic RealNum km()
Quantitypublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException