MapInnerProductSpace

trait InnerProductSpace[Map[K, V], V]
class MapVectorSpace[K, V]
trait VectorSpace[Map[K, V], V]
class MapCRng[K, V]
trait CModule[Map[K, V], V]
trait RightModule[Map[K, V], V]
trait LeftModule[Map[K, V], V]
trait CommutativeRng[Map[K, V]]
trait Rng[Map[K, V]]
trait AdditiveGroup[Map[K, V]]
class MapCSemiring[K, V]
trait Semiring[Map[K, V]]
trait AdditiveMonoid[Map[K, V]]
trait AdditiveSemigroup[Map[K, V]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def dot(x: Map[K, V], y: Map[K, V]): V

Inherited methods

def divr(v: Map[K, V], f: V): Map[K, V]
Inherited from:
VectorSpace
def isZero(a: Map[K, V])(implicit ev: Eq[Map[K, V]]): Boolean

Tests if a is zero.

Tests if a is zero.

Inherited from:
AdditiveMonoid
def minus(x: Map[K, V], y: Map[K, V]): Map[K, V]
Inherited from:
AdditiveGroup
def negate(x: Map[K, V]): Map[K, V]
Inherited from:
MapCRng
def normed(implicit ev: NRoot[V]): NormedVectorSpace[Map[K, V], V]
Inherited from:
InnerProductSpace
def plus(x: Map[K, V], y: Map[K, V]): Map[K, V]
Inherited from:
MapCSemiring
def pow(a: Map[K, V], n: Int): Map[K, V]
@nowarn("msg=deprecated")
def sum(as: IterableOnce[Map[K, V]]): Map[K, V]

Given a sequence of as, compute the sum.

Given a sequence of as, compute the sum.

Inherited from:
AdditiveMonoid
override def sumN(a: Map[K, V], n: Int): Map[K, V]
Definition Classes
Inherited from:
AdditiveGroup
override def times(x: Map[K, V], y: Map[K, V]): Map[K, V]
def timesl(r: V, v: Map[K, V]): Map[K, V]
Inherited from:
MapCRng
override def timesr(v: Map[K, V], r: V): Map[K, V]
Definition Classes
Inherited from:
CModule
@nowarn("msg=deprecated")
def tryProduct(as: IterableOnce[Map[K, V]]): Option[Map[K, V]]

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
@nowarn("msg=deprecated")
override def trySum(as: IterableOnce[Map[K, V]]): Option[Map[K, V]]
Definition Classes
Inherited from:
AdditiveMonoid
def zero: Map[K, V]
Inherited from:
MapCSemiring

Implicits

Inherited implicits

implicit override val scalar: Field[V]
Inherited from:
MapVectorSpace