monoid
A Java implementation of the Monoid algebraic structure.
APIs
Usage
A org.nnsoft.trudeau.math.monoid.Monoid<E> is a Monoid model and offers the following methods:
-
E identity()that returns the identity value; -
E append( E e1, E e2 )that returns the result of the associative binary operation between two elements of the monoid; -
E inverse( E element )that returns the inverse of the input element.
A org.nnsoft.trudeau.math.monoid.OrderedMonoid<E> is a org.nnsoft.trudeau.math.monoid.Monoid<E> able to order the elements.
Known default Monoids
org.nnsoft.trudeau.math.monoid.primitive.BigDecimalWeightBaseOperationsorg.nnsoft.trudeau.math.monoid.primitive.BigIntegerWeightBaseOperationsorg.nnsoft.trudeau.math.monoid.primitive.DoubleWeightBaseOperationsorg.nnsoft.trudeau.math.monoid.primitive.FloatWeightBaseOperationsorg.nnsoft.trudeau.math.monoid.primitive.IntegerWeightBaseOperationsorg.nnsoft.trudeau.math.monoid.primitive.LongWeightBaseOperations