Interface Multiplication<T>
- Type Parameters:
T- Type of elements.
- All Known Subinterfaces:
NativeOperators<T>
- All Known Implementing Classes:
BigFraction, DD, FP64, Fraction
public interface Multiplication<T>
Multiplication.
-
Method Summary
-
Method Details
-
multiply
-
one
-
reciprocal
-
isOne
Check if this is a neutral element of multiplication, i.e.this.multiply(a)returnsaor an element representing the same value asa.The default implementation calls
equals(one()). Implementations may want to employ more a efficient method. This may even be required if an implementation has multiple representations ofoneand itsequalsmethod differentiates between them.- Returns:
trueifthisis a neutral element of multiplication.- Since:
- 1.2
- See Also:
-