com.phasmidsoftware.number.algebra.eager.Structure
See theStructure companion trait
object Structure
The Structure object serves as a companion object for the Structure class, providing common operations, typeclass instances, and supplementary functionality.
Key responsibilities of this object include:
- Defining typeclass instances for equality (
Eq) and fuzzy equality (FuzzyEq) forStructuretypes. - Implementing a
DyadicOperatorinstance that provides a mechanism for combining twoStructureobjects, supporting both same-type and cross-type operations. - Logging and error handling during certain cross-type comparisons.
The Structure class represents a hierarchy of mathematical structures, including scalars, functional values, and other specific instances, and this companion object facilitates their interoperation.
Attributes
Members list
In this article