AdditiveGroupOps
Extension methods for AdditiveGroup.
Attributes
- Experimental
- true
- Graph
-
- Supertypes
-
trait AdditiveInverseOpstrait DifferenceMonoidOpstrait AdditiveMonoidOpstrait AdditiveIdentityOpstrait AdditiveSemigroupOpsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait RingOpstrait EuclideanRingOpstrait FieldOpstrait OrderedFieldOpsobject OrderedFieldobject Fieldtrait OrderedEuclideanRingOpsobject OrderedEuclideanRingobject EuclideanRingtrait OrderedRingOpsobject OrderedRingobject Ringtrait OrderedAdditiveGroupOpsobject OrderedAdditiveGroupobject AdditiveGroupShow 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
Extensions
Multiplies this value on the left by any integer.
Multiplies this value on the left by any integer.
Attributes
Multiplies this value on the right by any integer.
Multiplies this value on the right by any integer.
Attributes
Computes the absolute value of this value.
Computes the absolute value of this value.
Attributes
Inherited extensions
Computes the additive inverse (negative) of this value.
Computes the additive inverse (negative) of this value.
Attributes
- Inherited from:
- AdditiveInverseOps
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