The companion object for OrderedEuclideanRing.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opsclass Objecttrait Matchableclass AnyShow all
- Self type
-
OrderedEuclideanRing.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opstrait Opsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
Value members
Concrete methods
The OrderedEuclideanRing instance describing the current algebra system.
Inherited methods
Computes the absolute value of a value x, i.e. |x|.
Computes the sum of two values x and y, i.e. x + y.
Computes the sum of two values x and y, i.e. x + y.
Attributes
- Note
-
All implementations must be associative, i.e.
(x + y) + z == x + (y + z). - Inherited from:
- Ops
Computes the quotient between two values x and y, i.e. x / y.
Computes the greatest common divisor of two values x and y.
Attributes
- Returns
-
trueif x is strictly negative, i.e.x < 0. - Inherited from:
- Ops
Attributes
- Returns
-
trueif x is strictly positive, i.e.x > 0. - Inherited from:
- Ops
Computes the least common multiple of two values x and y.
Computes the signed remainder between two values x and y.
Computes the product of two values x and y, i.e. x × y.
Computes the product of two values x and y, i.e. x × y.
Attributes
- Note
-
All implementations must be associative, i.e.
(x × y) × z == x × (y × z). - Inherited from:
- Ops
Computes the additive inverse (negative) of a value x, i.e. -x.
Computes the additive inverse (negative) of a value x, i.e. -x.
Attributes
- Note
-
All implementations must be involutions, i.e.
negate(negate(x)) == x. - Inherited from:
- Ops
Attributes
- Inherited from:
- Ops
The unique representation of the multiplicative identity (1) in this algebra system. Typically corresponds to values such as 1 or 1.0F.
The unique representation of the multiplicative identity (1) in this algebra system. Typically corresponds to values such as 1 or 1.0F.
Attributes
- Note
-
All implementations must obey the identity property, i.e.
x × one == one × x == x. - Inherited from:
- Ops
Computes x raised to the power n, for any strictly positive n.
Computes x raised to the power n, for any strictly positive n.
Attributes
- Throws
-
IllegalArgumentException
if
n ≤ 0. - Inherited from:
- Ops
Computes x raised to the power n, for any non-negative n.
Computes x raised to the power n, for any non-negative n.
Attributes
- Throws
-
IllegalArgumentException
if
n < 0. - Inherited from:
- Ops
Computes the product of x and all values in xss, i.e. x × xs₁ × xs₂ × ….
Computes the product of x and all values in xss, i.e. x × xs₁ × xs₂ × ….
Attributes
- Inherited from:
- Ops
Computes the product of all values in xs, i.e. xs₁ × xs₂ × …, or else None if xs is empty.
Computes the product of all values in xs, i.e. xs₁ × xs₂ × …, or else None if xs is empty.
Attributes
- Inherited from:
- Ops
Computes x multiplied by n, for any strictly positive n.
Computes x multiplied by n, for any strictly positive n.
Attributes
- Throws
-
IllegalArgumentException
if
n ≤ 0. - Inherited from:
- Ops
Computes x multiplied by n, for any non-negative n.
Computes x multiplied by n, for any non-negative n.
Attributes
- Throws
-
IllegalArgumentException
if
n < 0. - Inherited from:
- Ops
Computes x multiplied by n, for any integer n.
Computes the sign of a value x, represented by one for positive, negativeOne for negative, or zero for itself.
Computes the sign of a value x, represented by one for positive, negativeOne for negative, or zero for itself.
Attributes
- Inherited from:
- Ops
Computes the difference between two values x and y, i.e. x - y.
Computes the difference between two values x and y, i.e. x - y.
Computes the sum of x and all values in xs, i.e. x + xs₁ + xs₂ + ….
Computes the sum of all values in xs, i.e. xs₁ + xs₂ + …, or else None if xs is empty.
Computes the sum of all values in xs, i.e. xs₁ + xs₂ + …, or else None if xs is empty.
Attributes
- Inherited from:
- Ops
The unique representation of the additive identity (0) in this algebra system. Typically corresponds to values such as 0, 0.0F, or Seq.empty.
The unique representation of the additive identity (0) in this algebra system. Typically corresponds to values such as 0, 0.0F, or Seq.empty.
Attributes
- Note
-
All implementations must obey the identity property, i.e.
x + zero == zero + x == x. - Inherited from:
- Ops