public static enum GroupElement.Representation extends Enum<GroupElement.Representation>
| Enum Constant and Description |
|---|
CACHEDCached representation for intermediate calculations |
P1P1Completed representation for addition results |
P2Projective representation (X:Y:Z) |
P3Extended projective representation (X:Y:Z:T) |
P3PrecomputedDoubleExtended representation with precomputed doubles. |
PRECOMPPrecomputed representation for optimized operations |
| Modifier and Type | Method and Description |
|---|---|
static GroupElement.Representation | valueOf(String name)Returns the enum constant of this type with the specified name. |
static GroupElement.Representation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final GroupElement.Representation CACHED
public static final GroupElement.Representation P1P1
public static final GroupElement.Representation P2
public static final GroupElement.Representation P3
public static final GroupElement.Representation P3PrecomputedDouble
public static final GroupElement.Representation PRECOMP
public static GroupElement.Representation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static GroupElement.Representation[] values()
for (GroupElement.Representation c : GroupElement.Representation.values()) System.out.println(c);