spoke.math.numeric
Class Quaternion

java.lang.Object
  extended by spoke.math.numeric.Arithmetic
      extended by spoke.math.numeric.SpokeVector
          extended by spoke.math.numeric.Quaternion
All Implemented Interfaces:
Comparable

public class Quaternion
extends SpokeVector


Field Summary
 
Fields inherited from class spoke.math.numeric.SpokeVector
element, n
 
Method Summary
 Arithmetic multiply(Arithmetic arithmetic)
           
protected  Arithmetic newinstance(int n)
           
static Quaternion valueOf(double x, double y, double z, double w)
           
 
Methods inherited from class spoke.math.numeric.SpokeVector
add, add, divide, divide, multiply, negate, newinstance, norm, norm2, normalize, scalarProduct, signum, subtract, subtract, unity, valueof, vectorProduct
 
Methods inherited from class spoke.math.numeric.Arithmetic
compareTo, pow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

multiply

public Arithmetic multiply(Arithmetic arithmetic)
Overrides:
multiply in class SpokeVector

valueOf

public static Quaternion valueOf(double x,
                                 double y,
                                 double z,
                                 double w)

newinstance

protected Arithmetic newinstance(int n)
Overrides:
newinstance in class SpokeVector