algebras

Abstract Algebras Representations

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

Protocols

class boring_math.abstract_algebra.algebras.NaturalMapping

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
classmethod __new__(*args, **kwargs)