given_NormedAdditiveMonoid_String_Int
Attributes
- Graph
-
- Supertypes
-
trait AdditiveMonoid[String]trait AdditiveIdentity[String]trait AdditiveSemigroup[String]trait AdditiveMagma[String]trait Algebra[String]class Objecttrait Matchableclass AnyShow all
- Self type
Members list
Value members
Concrete methods
The unique additive identity in this algebra. Typically given by values such as 0, 0.0F, or Seq.empty.
The unique additive identity in this algebra. Typically given by values such as 0, 0.0F, or Seq.empty.
Attributes
- Definition Classes
Extensions
Extensions
Computes the sum of two values x and y, i.e. x + y.
Inherited extensions
An alias for add.
An alias for scale, with the factor on the left.
An alias for scale, with the factor on the right.
Attributes
- Returns
-
trueif and only if x equals zero. - Inherited from:
- AdditiveIdentity
Attributes
- Returns
-
trueif and only if x doesn't equal zero. - Inherited from:
- AdditiveIdentity
Computes x multiplied by n, for any non-negative integer n.
Computes x multiplied by n, for any non-negative integer n.
Attributes
- Throws
-
IllegalArgumentException
if
n < 0. - Definition Classes
- Inherited from:
- AdditiveMonoid
Computes the sum of all values in xs, i.e. xs₁ + xs₂ + …, or else zero if xs is empty.
Computes the sum of all values in xs, i.e. xs₁ + xs₂ + …, or else zero if xs is empty.
Attributes
- Inherited from:
- AdditiveMonoid
Computes the sum of x and all values in xs, i.e. x + xs₁ + xs₂ + ….
Computes the sum of x and all values in xs, i.e. x + xs₁ + xs₂ + ….
Attributes
- Inherited from:
- AdditiveSemigroup
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:
- AdditiveSemigroup
Computes the sum of all values in xs, i.e. xs₁ + xs₂ + …, or else default if xs is empty.
Computes the sum of all values in xs, i.e. xs₁ + xs₂ + …, or else default if xs is empty.
Attributes
- Inherited from:
- AdditiveSemigroup