Interface Field<T>
- Type Parameters:
T- Type of the field elements.
- All Known Implementing Classes:
AbstractField, BigFractionField, DDField, FP64Field, FractionField
-
Method Summary
Modifier and TypeMethodDescriptionAdd the elements.Divide the elementabyb.Multiply the elementaby a specified number of timesn.Multiply the elements.Negate the element.one()Return the value of one.reciprocal(T a) Return the reciprocal (multiplicative inverse).Subtract the elementbfroma.zero()Return the value of zero.
-
Method Details
-
add
-
subtract
-
negate
-
multiply
-
multiply
-
divide
-
reciprocal
Return the reciprocal (multiplicative inverse).- Parameters:
a- Field element.- Returns:
a-1.
-
one
-
zero
-