OrderedDifferenceMonoidOps
Extension methods for OrderedDifferenceMonoid.
Attributes
- Experimental
- true
- Graph
-
- Supertypes
-
trait OrderedAdditiveMonoidOpstrait OrderingOpstrait DifferenceMonoidOpstrait AdditiveMonoidOpstrait AdditiveIdentityOpstrait AdditiveSemigroupOpsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait OrderedAdditiveGroupOpstrait OrderedRingOpstrait OrderedEuclideanRingOpstrait OrderedFieldOpsobject OrderedFieldobject OrderedEuclideanRingobject OrderedRingobject OrderedAdditiveGroupobject OrderedDifferenceSemifieldobject OrderedDifferenceSemiringobject OrderedDifferenceMonoidShow all
Members list
Value members
Inherited methods
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
Computes the difference between both operands.
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