DyadicOperator
com.phasmidsoftware.number.algebra.core.DyadicOperator
A trait that represents a dyadic operator, which performs an operation involving two operands of types related to A and produces a result wrapped in a Try.
NOTE the purpose of this trait is to deal with the hierarchy of types in one place. However, we have instead implemented eqv and fuzzyEqv directly (not using this trait). We can implement other operators using this trait if we wish, and maybe even back-propagate the eqv and fuzzyEqv methods here also.
Type parameters
- A
-
The base type of the operands, which acts as the upper bound for the types used in the operation.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article