edu.stanford.rsl.konrad.numerics
Enum SimpleMatrix.InversionType

java.lang.Object
  extended by java.lang.Enum<SimpleMatrix.InversionType>
      extended by edu.stanford.rsl.konrad.numerics.SimpleMatrix.InversionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SimpleMatrix.InversionType>
Enclosing class:
SimpleMatrix

public static enum SimpleMatrix.InversionType
extends java.lang.Enum<SimpleMatrix.InversionType>

Set the algorithm to be used during inversion


Enum Constant Summary
INVERT_LU
          Inverts any matrices using the LU decomposition
INVERT_QR
          Inverts any matrices using the LU decomposition
INVERT_RT
          Inverts homogeneous rigid motion matrices directly
INVERT_SVD
          Inverts any matrices using the SVD decomposition
INVERT_UPPER_TRIANGULAR
          Inverts upper-triangular matrices using back substitution
 
Method Summary
static SimpleMatrix.InversionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SimpleMatrix.InversionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVERT_LU

public static final SimpleMatrix.InversionType INVERT_LU
Inverts any matrices using the LU decomposition


INVERT_SVD

public static final SimpleMatrix.InversionType INVERT_SVD
Inverts any matrices using the SVD decomposition


INVERT_QR

public static final SimpleMatrix.InversionType INVERT_QR
Inverts any matrices using the LU decomposition


INVERT_UPPER_TRIANGULAR

public static final SimpleMatrix.InversionType INVERT_UPPER_TRIANGULAR
Inverts upper-triangular matrices using back substitution


INVERT_RT

public static final SimpleMatrix.InversionType INVERT_RT
Inverts homogeneous rigid motion matrices directly

Method Detail

values

public static SimpleMatrix.InversionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SimpleMatrix.InversionType c : SimpleMatrix.InversionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SimpleMatrix.InversionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null