CanNormalize

com.phasmidsoftware.number.algebra.core.CanNormalize
trait CanNormalize[T <: Structure]

Trait CanNormalize provides a mechanism to normalize instances of type T.

TODO merge this with Normalizable

Normalization is a process of transforming an entity into a standard form, often employed in mathematical, algebraic, or logical contexts to simplify representations or ensure a canonical structure. Classes or traits that implement this trait must define how an instance of T is normalized.

Type parameters

T

the type of the entity that can be normalized

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Angle

Members list

Value members

Abstract methods

def normalize: T

Normalizes the current instance according to its specific mathematical or logical definition.

Normalizes the current instance according to its specific mathematical or logical definition.

Attributes

Returns

an instance of type T which is a normalized form of the current instance