trait MultiplicativeCommutativeSemigroup[@specialized(Int, Long, Float, Double) A] extends MultiplicativeSemigroup[A]
- Companion
- object
trait CommutativeSemiring[A]
trait CommutativeRig[A]
class BooleanAlgebra
trait CommutativeRing[A]
class BigIntAlgebra
class ByteAlgebra
class IntAlgebra
class LongAlgebra
class ShortAlgebra
class UnitAlgebra
trait BoolRing[A]
trait Field[A]
class BigDecimalAlgebra
class DoubleAlgebra
class FloatAlgebra
trait CommutativeRng[A]
trait BoolRng[A]
class SetBoolRng[A]
trait MultiplicativeCommutativeMonoid[A]
trait MultiplicativeCommutativeGroup[A]
Value members
Concrete methods
Inherited methods
Given a sequence of as
, combine them and return the total.
Given a sequence of as
, combine them and return the total.
If the sequence is empty, returns None. Otherwise, returns Some(total).
- Inherited from
- MultiplicativeSemigroup