Package org.apache.commons.numbers.core
Interface Multiplication<T>
- Type Parameters:
T- Type of elements.
- All Known Subinterfaces:
NativeOperators<T>
- All Known Implementing Classes:
Fraction
public interface Multiplication<T>
Multiplication.
-
Method Details
-
multiply
Binary multiplication.- Parameters:
a- Element.- Returns:
this * a.
-
one
T one()Identity element.- Returns:
- the field element such that for all
a,one().multiply(a).equals(a)istrue.
-
reciprocal
T reciprocal()Multiplicative inverse.- Returns:
this-1.
-