Package org.flag4j.algebraic_structures


package org.flag4j.algebraic_structures

Provides algebraic structures such as semirings, rings, and fields, along with their concrete implementations.

This module defines interfaces representing algebraic structures:

and provides concrete implementations for various data types:

These abstractions allow for generic programming with mathematical structures, enabling algorithms to work over any data type that adheres to the specified algebraic structure.

  • Class
    Description
    Represents an immutable boolean value within a semiring structure.
    Represents an immutable complex number with double-precision floating point components.
    Represents an immutable complex number with single-precision floating point components.
    Field<T extends Field<T>>
    Defines a mathematical field structure and specifies the operations that field elements must support.
    Represents an immutable real number backed by a 32-bit floating-point value.
    Represents an immutable real number backed by a 64-bit floating-point value.
    A real number backed by a 16-bit integer number.
    A real number backed by a 32-bit integer number.
    Ring<T extends Ring<T>>
    Defines a mathematical ring structure and specifies the operations that ring elements must support.
    Semiring<T extends Semiring<T>>
    Defines a mathematical semiring structure and specifies the operations that semiring elements must support.