org.openmali.number.matrix
Class Tuple3rad

java.lang.Object
  extended by org.openmali.number.matrix.TupleNrad<Tuple3rad>
      extended by org.openmali.number.matrix.Tuple3rad

public class Tuple3rad
extends TupleNrad<Tuple3rad>


Field Summary
static Tuple3rad[] CARTESIAN_DIRS
          a read only structure providing integer access to the 6 principle cartesian direcion tuples in the order 0 = X_POS 1 = X_NEG 2 = Y_POS 3 = Y_NEG 4 = Z_POS 5 = Z_NEG
static Tuple3rad X_NEG
           
static Tuple3rad X_POS
           
static Tuple3rad Y_NEG
           
static Tuple3rad Y_POS
           
static Tuple3rad Z_NEG
           
static Tuple3rad Z_POS
           
 
Fields inherited from class org.openmali.number.matrix.TupleNrad
roTrick, values
 
Constructor Summary
  Tuple3rad()
           
protected Tuple3rad(boolean readOnly)
           
protected Tuple3rad(boolean readOnly, Tuple3rad value)
           
  Tuple3rad(Radical1 x, Radical1 y, Radical1 z)
           
  Tuple3rad(Tuple3rad value)
           
 
Method Summary
 Tuple3rad clone()
          
static Tuple3rad cross(Tuple3rad a, Tuple3rad b, Tuple3rad result)
           
 Radical1 getX(Radical1 passback)
           
 Radical1 getXR()
           
 Radical1 getY(Radical1 passback)
           
 Radical1 getYR()
           
 Radical1 getZ(Radical1 passback)
           
 Radical1 getZR()
           
static Tuple3rad newReadOnly(Tuple3rad value)
           
 void set(Radical1 x, Radical1 y, Radical1 z)
           
 java.lang.String toString()
          
 
Methods inherited from class org.openmali.number.matrix.TupleNrad
absolute, absolute, add, add, add, div, div, dot, equals, fill, get, get, getReference, getSize, hashCode, isReadOnly, mul, mul, negate, negate, scale, scale, set, set, set, setZero, sub, sub, sub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

X_POS

public static final Tuple3rad X_POS

X_NEG

public static final Tuple3rad X_NEG

Y_POS

public static final Tuple3rad Y_POS

Y_NEG

public static final Tuple3rad Y_NEG

Z_POS

public static final Tuple3rad Z_POS

Z_NEG

public static final Tuple3rad Z_NEG

CARTESIAN_DIRS

public static final Tuple3rad[] CARTESIAN_DIRS
a read only structure providing integer access to the 6 principle cartesian direcion tuples in the order 0 = X_POS 1 = X_NEG 2 = Y_POS 3 = Y_NEG 4 = Z_POS 5 = Z_NEG

Constructor Detail

Tuple3rad

protected Tuple3rad(boolean readOnly)

Tuple3rad

protected Tuple3rad(boolean readOnly,
                    Tuple3rad value)

Tuple3rad

public Tuple3rad()

Tuple3rad

public Tuple3rad(Tuple3rad value)

Tuple3rad

public Tuple3rad(Radical1 x,
                 Radical1 y,
                 Radical1 z)
Method Detail

set

public final void set(Radical1 x,
                      Radical1 y,
                      Radical1 z)

getX

public final Radical1 getX(Radical1 passback)

getY

public final Radical1 getY(Radical1 passback)

getZ

public Radical1 getZ(Radical1 passback)

getXR

public final Radical1 getXR()

getYR

public final Radical1 getYR()

getZR

public final Radical1 getZR()

cross

public static final Tuple3rad cross(Tuple3rad a,
                                    Tuple3rad b,
                                    Tuple3rad result)

clone

public Tuple3rad clone()

Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

newReadOnly

public static final Tuple3rad newReadOnly(Tuple3rad value)