Package org.tensorics.core.math
Interface ExplicitField<T>
-
- Type Parameters:
T
- the type of the elements of the field
- All Known Subinterfaces:
ExtendedField<T>
- All Known Implementing Classes:
ExplicitFieldImpl
,ExtendedFieldImpl
public interface ExplicitField<T>
A more explicit view on the algebraic structure of a field. It provides more dedicated operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnaryOperation<T>
absoluteValue()
BinaryOperation<T>
addition()
Has to return the '+' operation.UnaryOperation<T>
additiveInversion()
java.util.Comparator<T>
comparator()
BinaryOperation<T>
division()
BinaryPredicate<T>
equal()
BinaryPredicate<T>
greater()
BinaryPredicate<T>
greaterOrEqual()
BinaryPredicate<T>
less()
BinaryPredicate<T>
lessOrEqual()
BinaryOperation<T>
multiplication()
Has to return the '*' operation.UnaryOperation<T>
multiplicativeInversion()
T
one()
BinaryOperation<T>
subtraction()
T
two()
T
zero()
-
-
-
Method Detail
-
addition
BinaryOperation<T> addition()
Has to return the '+' operation.- Returns:
- the operation which can perform a + b.
-
additiveInversion
UnaryOperation<T> additiveInversion()
-
subtraction
BinaryOperation<T> subtraction()
-
zero
T zero()
-
absoluteValue
UnaryOperation<T> absoluteValue()
-
multiplication
BinaryOperation<T> multiplication()
Has to return the '*' operation.- Returns:
- the operation which can perform a * b.
-
division
BinaryOperation<T> division()
-
multiplicativeInversion
UnaryOperation<T> multiplicativeInversion()
-
one
T one()
-
two
T two()
-
less
BinaryPredicate<T> less()
-
lessOrEqual
BinaryPredicate<T> lessOrEqual()
-
equal
BinaryPredicate<T> equal()
-
greaterOrEqual
BinaryPredicate<T> greaterOrEqual()
-
greater
BinaryPredicate<T> greater()
-
comparator
java.util.Comparator<T> comparator()
-
-