T - The type of field element.public interface FieldElement<T> extends Comparable<T>
| Modifier and Type | Method and Description |
|---|---|
double |
abs()
Compute and return the absolute value of this element.
|
T |
additiveInverse()
Return the element of this field that, when added to this element, produces the additive identity.
|
T |
conjugate()
Compute and return the conjugate of this element.
|
T |
dividedBy(T other)
Divide this element by the given element and return the result.
|
T |
minus(T other)
Subtract the given element from this element.
|
T |
plus(T other)
Add this element to the given element.
|
T |
sqrt()
The square root operation applied to this element.
|
T |
times(T other)
Multiply this element by the given element.
|
compareToT plus(T other)
other - the element to add to this element.T minus(T other)
other - the element to subtract from this element.T times(T other)
other - the element to multiply this element by.T sqrt()
T conjugate()
T additiveInverse()
double abs()