IsImaginaryExpressionCommutative

com.phasmidsoftware.number.expression.expr.IsImaginaryExpressionCommutative

An extractor object that determines if a pair of expressions is related through an imaginary expression in a commutative manner. This means that the imaginary component can appear on either side of the tuple, and the extractor will match in both cases.

The extractor takes a tuple of two Expression objects as input and attempts to find one of the expressions being an IsImaginaryExpression. If a match is found, it extracts the eager value from the IsImaginaryExpression and returns it along with the other expression in the tuple.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def unapply(e: (Expression, Expression)): Option[(Eager, Expression)]