src/main/java/de/orat/math/cga/impl1/CGA1Multivector.java
public Quat4d decomposeRotation(){
        Quat4d result = new Quat4d();
        result.w = extractCoordinates(0)[0];
        double[] vector = extractCoordinates(2);
        result.x = -vector[4]; // i
        result.y = vector[5];  // j
        result.z = -vector[8]; // k
        return result;
    }
/**
     * Decompose rotation around origin.
     * 
     * @return quaternion representing a rotation around the origin
     */
Decompose rotation around origin.

@return quaternion representing a rotation around the origin
Decompose rotation around origin . @return quaternion representing a rotation around the origin
public Quat4d decomposeRotation(){
        Quat4d result = new Quat4d();
        result.w = extractCoordinates(0)[0];
        double[] vector = extractCoordinates(2);
        result.x = -vector[4]; 
        result.y = vector[5];  
        result.z = -vector[8]; 
        return result;
    }
public Quat4d decomposeRotation ( ) { Quat4d result = new Quat4d ( ) ; result . w = extractCoordinates ( 0 ) [ 0 ] ; double [ ] vector = extractCoordinates ( 2 ) ; result . x = - vector [ 4 ] ; result . y = vector [ 5 ] ; result . z = - vector [ 8 ] ; return result ; }
Decompose rotation around origin.
Decompose rotation around origin .
// i // j // k