Trudeau - Math - Monoid

A Java implementation of the Monoid algebraic structure.

License

License

GroupId

GroupId

org.99soft.trudeau.math
ArtifactId

ArtifactId

org.99soft.trudeau.math.monoid
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

Trudeau - Math - Monoid
A Java implementation of the Monoid algebraic structure.
Project URL

Project URL

https://github.com/trudeau/monoid
Project Organization

Project Organization

The Trudeau Project
Source Code Management

Source Code Management

http://github.com/trudeau/monoid

Download org.99soft.trudeau.math.monoid

How to add to project

<!-- https://jarcasting.com/artifacts/org.99soft.trudeau.math/org.99soft.trudeau.math.monoid/ -->
<dependency>
    <groupId>org.99soft.trudeau.math</groupId>
    <artifactId>org.99soft.trudeau.math.monoid</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.99soft.trudeau.math/org.99soft.trudeau.math.monoid/
implementation 'org.99soft.trudeau.math:org.99soft.trudeau.math.monoid:0.0.1'
// https://jarcasting.com/artifacts/org.99soft.trudeau.math/org.99soft.trudeau.math.monoid/
implementation ("org.99soft.trudeau.math:org.99soft.trudeau.math.monoid:0.0.1")
'org.99soft.trudeau.math:org.99soft.trudeau.math.monoid:jar:0.0.1'
<dependency org="org.99soft.trudeau.math" name="org.99soft.trudeau.math.monoid" rev="0.0.1">
  <artifact name="org.99soft.trudeau.math.monoid" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.99soft.trudeau.math', module='org.99soft.trudeau.math.monoid', version='0.0.1')
)
libraryDependencies += "org.99soft.trudeau.math" % "org.99soft.trudeau.math.monoid" % "0.0.1"
[org.99soft.trudeau.math/org.99soft.trudeau.math.monoid "0.0.1"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

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.BigDecimalWeightBaseOperations
  • org.nnsoft.trudeau.math.monoid.primitive.BigIntegerWeightBaseOperations
  • org.nnsoft.trudeau.math.monoid.primitive.DoubleWeightBaseOperations
  • org.nnsoft.trudeau.math.monoid.primitive.FloatWeightBaseOperations
  • org.nnsoft.trudeau.math.monoid.primitive.IntegerWeightBaseOperations
  • org.nnsoft.trudeau.math.monoid.primitive.LongWeightBaseOperations

Versions

Version
0.0.1