public static enum PhaseMatrix.IND extends java.lang.Enum<PhaseMatrix.IND> implements IIndex
PhaseIndex
class
by adding the homogeneous element position HOM
.Enum Constant and Description |
---|
HOM
Index of the homogeneous coordinate
|
X
Index of the x coordinate
|
Xp
Index of the X' coordinate
|
Y
Index of the Y coordinate
|
Yp
Index of the Y' coordinate
|
Z
Index of the Z (longitudinal) coordinate
|
Zp
Index of the Z' (change in momentum) coordinate
|
Modifier and Type | Method and Description |
---|---|
int |
val()
Return the integer value of the index position
|
static PhaseMatrix.IND |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhaseMatrix.IND[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static java.util.EnumSet<PhaseMatrix.IND> |
valuesPhase()
Returns the set of index constants that correspond to phase
coordinates only.
|
public static final PhaseMatrix.IND X
public static final PhaseMatrix.IND Xp
public static final PhaseMatrix.IND Y
public static final PhaseMatrix.IND Yp
public static final PhaseMatrix.IND Z
public static final PhaseMatrix.IND Zp
public static final PhaseMatrix.IND HOM
public static PhaseMatrix.IND[] values()
for (PhaseMatrix.IND c : PhaseMatrix.IND.values()) System.out.println(c);
public static PhaseMatrix.IND valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.EnumSet<PhaseMatrix.IND> valuesPhase()
IND.HOM
constant).IND
less the HOM
constantxal.tools.math.BaseMatrix.IIndex#val()