MathematicalEq

com.phasmidsoftware.number.expression.expr.MathematicalEq
See theMathematicalEq companion trait

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[A](implicit ev: MathematicalEq[A]): MathematicalEq[A]

Summon a MathematicalEq instance.

Summon a MathematicalEq instance.

Attributes

def fromEq[A](implicit eq: Eq[A]): MathematicalEq[A]

For types where mathematical equality is the same as structural equality.

For types where mathematical equality is the same as structural equality.

Attributes

def instance[A](f: (A, A) => Boolean): MathematicalEq[A]

Create a MathematicalEq instance from a function.

Create a MathematicalEq instance from a function.

Attributes

Implicits

Implicits

MathematicalEq for Expression: simplify both sides then use structural Eq.

MathematicalEq for Expression: simplify both sides then use structural Eq.

Attributes