Package org.apache.commons.numbers.core
Interface NativeOperators<T>
-
- Type Parameters:
T- Type of elements.
- All Superinterfaces:
Addition<T>,Multiplication<T>
- All Known Implementing Classes:
DD
public interface NativeOperators<T> extends Addition<T>, Multiplication<T>
Operators that can be implemented in a more performant way using the language constructs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tdivide(T a)Binary division.Tmultiply(int n)Repeated addition.Tpow(int n)Repeated multiplication.Tsubtract(T a)Binary subtraction.-
Methods inherited from interface org.apache.commons.numbers.core.Multiplication
isOne, multiply, one, reciprocal
-
-