MapVectorSpace
@SerialVersionUID(0L)
class MapVectorSpace[K, V](implicit val scalar: Field[V]) extends MapCRng[K, V] with VectorSpace[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