OrderedSemiringOps
Extension methods for OrderedSemiring.
Attributes
- Experimental
- true
- Graph
-
- Supertypes
-
trait OrderedAdditiveMonoidOpstrait OrderingOpstrait SemiringOpstrait MultiplicativeMonoidOpstrait AdditiveMonoidOpstrait AdditiveIdentityOpstrait AdditiveSemigroupOpsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait OrderedFieldOpsobject OrderedFieldobject OrderedDifferenceSemifieldtrait OrderedRingOpstrait OrderedEuclideanRingOpsobject OrderedEuclideanRingobject OrderedRingobject OrderedDifferenceSemiringtrait OrderedSemifieldOpsobject OrderedSemifieldobject OrderedSemiringShow all
Members list
Value members
Inherited methods
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
- Inherited from:
- MultiplicativeIdentityOps
The unique representation of 2 in this algebra system.
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
- Inherited from:
- AdditiveIdentityOps
Extensions
Inherited extensions
Attributes
- Returns
-
trueif the left operand is smaller than the right. - Inherited from:
- OrderingOps
Attributes
- Returns
-
trueif the left operand is not larger than the right. - Inherited from:
- OrderingOps
Attributes
- Returns
-
trueif the right operand is larger than the left. - Inherited from:
- OrderingOps
Attributes
- Returns
-
trueif the right operand is not larger than the left. - Inherited from:
- OrderingOps
Clamps this value to the inclusive range [lb, ub].
Clamps this value to the inclusive range [lb, ub].
Attributes
- Returns
-
lb if this value is less than lb, ub if greater than ub, or this value otherwise.
- Inherited from:
- OrderingOps
Determines the relative order of both operands
Determines the relative order of both operands
Attributes
- Returns
-
-1if in-order (this < x),1if out-of-order (this > x), and0if equal (this == x). - Inherited from:
- OrderingOps
Attributes
- Returns
-
the larger of both operands.
- Inherited from:
- OrderingOps
Attributes
- Returns
-
the smaller of both operands.
- Inherited from:
- OrderingOps
Attributes
- Returns
-
trueif this value equals zero. - Inherited from:
- AdditiveIdentityOps
Multiplies this value on the left by a strictly positive integer.
Multiplies this value on the left by a strictly positive integer.
Attributes
- Throws
-
IllegalArgumentException
if
n ≤ 0. - Inherited from:
- AdditiveSemigroupOps
Computes the sum of both operands.
Multiplies this value on the right by a strictly positive integer.
Multiplies this value on the right by a strictly positive integer.
Attributes
- Throws
-
IllegalArgumentException
if
n ≤ 0. - Inherited from:
- AdditiveSemigroupOps
Attributes
- Returns
-
trueif this value equals one. - Inherited from:
- MultiplicativeIdentityOps
Computes the product of both operands.
Computes this value raised to the power n, for any strictly positive n.
Computes this value raised to the power n, for any strictly positive n.
Attributes
- Inherited from:
- MultiplicativeSemigroupOps
Multiplies this value on the left by a non-negative integer.
Multiplies this value on the left by a non-negative integer.
Attributes
- Throws
-
IllegalArgumentException
if
n < 0. - Inherited from:
- AdditiveMonoidOps
Multiplies this value on the right by a non-negative integer.
Multiplies this value on the right by a non-negative integer.
Attributes
- Throws
-
IllegalArgumentException
if
n < 0. - Inherited from:
- AdditiveMonoidOps
Computes this value raised to the power n, for any non-negative n.
Computes this value raised to the power n, for any non-negative n.
Attributes
- Inherited from:
- MultiplicativeMonoidOps