public final class PerisicFieldElement extends Object implements FieldElement<PerisicFieldElement>
FieldElement
interface, for PerisicField
Modifier and Type | Method and Description |
---|---|
PerisicFieldElement |
add(PerisicFieldElement a) |
PerisicFieldElement |
divide(PerisicFieldElement a) |
boolean |
equals(Object o) |
PerisicField |
getField() |
int |
hashCode() |
PerisicFieldElement |
multiply(int n) |
PerisicFieldElement |
multiply(PerisicFieldElement a) |
PerisicFieldElement |
negate() |
PerisicFieldElement |
reciprocal() |
int |
sign()
compare this value with 0.
|
PerisicFieldElement |
subtract(PerisicFieldElement a) |
String |
toString() |
public PerisicFieldElement add(PerisicFieldElement a)
add
in interface FieldElement<PerisicFieldElement>
public PerisicFieldElement subtract(PerisicFieldElement a)
subtract
in interface FieldElement<PerisicFieldElement>
public PerisicFieldElement negate()
negate
in interface FieldElement<PerisicFieldElement>
public PerisicFieldElement multiply(int n)
multiply
in interface FieldElement<PerisicFieldElement>
public PerisicFieldElement multiply(PerisicFieldElement a)
multiply
in interface FieldElement<PerisicFieldElement>
public PerisicFieldElement divide(PerisicFieldElement a)
divide
in interface FieldElement<PerisicFieldElement>
public PerisicFieldElement reciprocal()
reciprocal
in interface FieldElement<PerisicFieldElement>
public PerisicField getField()
getField
in interface FieldElement<PerisicFieldElement>
public int sign()