The companion object for NormedAdditiveMonoid.
Attributes
- Companion
- trait
- Graph
-
- Supertypes
- Self type
-
NormedAdditiveMonoid.type
Members list
Type members
Classlikes
Attributes
- Supertypes
- Known subtypes
-
object NormedAdditiveMonoidtrait Opstrait Opsobject NormedAdditiveGrouptrait Opsobject NormedPseudoringtrait Opstrait Opsobject NormedEuclideanRingtrait Opsobject NormedFieldobject NormedRingobject NormedDifferenceMonoidtrait Opstrait Opsobject NormedDifferenceSemifieldobject NormedDifferenceSemiringtrait Opstrait Opsobject NormedSemifieldobject NormedSemiringShow all
Types
Value members
Concrete methods
The NormedAdditiveMonoid instance describing the current algebra system.
Inherited methods
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 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 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