MapCRng
@SerialVersionUID(0L)
class MapCRng[K, V](implicit val scalar: CommutativeRing[V]) extends MapCSemiring[K, V] with CommutativeRng[Map[K, V]] with CModule[Map[K, V], V] with Serializable
Value members
Inherited methods
@nowarn("msg=deprecated")
Given a sequence of as
, compute the sum.
Given a sequence of as
, compute the sum.
- Inherited from:
- AdditiveMonoid
@nowarn("msg=deprecated")
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