- All Implemented Interfaces:
Serializable, Comparable<GroupElement.Representation>, java.lang.constant.Constable
- Enclosing class:
GroupElement
Available coordinate representations for a group element.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCached representation for intermediate calculations.Completed representation for addition results.Projective representation (X:Y:Z).Extended projective representation (X:Y:Z:T).Extended representation with precomputed doubles.Precomputed representation for optimized operations.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic GroupElement.RepresentationReturns the enum constant of this class with the specified name.static GroupElement.Representation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
P2
Projective representation (X:Y:Z).P3
Extended projective representation (X:Y:Z:T).P3PrecomputedDouble
Extended representation with precomputed doubles.P1P1
Completed representation for addition results.PRECOMP
Precomputed representation for optimized operations.CACHED
Cached representation for intermediate calculations.
Constructor Details
Representation
private Representation()
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null