algebras

Abstract Algebras Representations

Infrastructure for implementing concrete representations for abstract algebras of various types.

Protocols

class boring_math.abstract_algebra.algebras.NaturalMapping

natural mapping

Similar to the collections/abc.Mapping protocol, NaturalMapping supports read-only access to dict-like objects which can be extended in a “natural” deterministic way.

classmethod __new__(*args, **kwargs)

Abstract Base Classes

class boring_math.abstract_algebra.algebras.BaseSet
__init__(narrow: Callable[[H], H] | None = None) None
classmethod __new__(*args, **kwargs)
class boring_math.abstract_algebra.algebras.BaseElement
__init__(rep: H, algebra: BaseSet[H]) None

abstract base class for algebra element

param rep:

Coset element to be narrowed to a representative.

param algebra:

Algebra to which element belongs

classmethod __new__(*args, **kwargs)