class MapInnerProductSpace[K, V] extends MapVectorSpace[K, V] with InnerProductSpace[Map[K, V], V] with Serializable
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- MapInnerProductSpace
- InnerProductSpace
- MapVectorSpace
- VectorSpace
- MapRng
- RingAlgebra
- Rng
- Module
- AdditiveAbGroup
- AdditiveCMonoid
- AdditiveCSemigroup
- AdditiveGroup
- MapSemiring
- Serializable
- Serializable
- Semiring
- MultiplicativeSemigroup
- AdditiveMonoid
- AdditiveSemigroup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
additive: AbGroup[Map[K, V]]
- Definition Classes
- AdditiveAbGroup → AdditiveCMonoid → AdditiveCSemigroup → AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
divr(v: Map[K, V], f: V): Map[K, V]
- Definition Classes
- VectorSpace
-
def
dot(x: Map[K, V], y: Map[K, V]): V
- Definition Classes
- MapInnerProductSpace → InnerProductSpace
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isZero(a: Map[K, V])(implicit ev: Eq[Map[K, V]]): Boolean
Tests if
ais zero.Tests if
ais zero.- Definition Classes
- AdditiveMonoid
-
def
minus(x: Map[K, V], y: Map[K, V]): Map[K, V]
- Definition Classes
- AdditiveGroup
-
def
multiplicative: Semigroup[Map[K, V]]
- Definition Classes
- MultiplicativeSemigroup
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
negate(x: Map[K, V]): Map[K, V]
- Definition Classes
- MapRng → AdditiveGroup
-
def
normed(implicit ev: NRoot[V]): NormedVectorSpace[Map[K, V], V]
- Definition Classes
- InnerProductSpace
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
plus(x: Map[K, V], y: Map[K, V]): Map[K, V]
- Definition Classes
- MapSemiring → AdditiveSemigroup
-
def
pow(a: Map[K, V], n: Int): Map[K, V]
Returns
amultiplied with itselfntimes.Returns
amultiplied with itselfntimes. For instance,a pow 3 === a * a * a. Since this is a semiring, there is no notion of a multiplicative identity, and so the exponent must be positive.- Definition Classes
- Semiring
-
def
prodOption(as: TraversableOnce[Map[K, V]]): Option[Map[K, V]]
Given a sequence of
as, sum them using the semigroup and return the total.Given a sequence of
as, sum them using the semigroup and return the total.If the sequence is empty, returns None. Otherwise, returns Some(total).
- Definition Classes
- MultiplicativeSemigroup
-
def
prodn(a: Map[K, V], n: Int): Map[K, V]
Return
amultiplied with itselfntimes.Return
amultiplied with itselfntimes.- Definition Classes
- MultiplicativeSemigroup
-
def
prodnAboveOne(a: Map[K, V], n: Int): Map[K, V]
- Attributes
- protected
- Definition Classes
- MultiplicativeSemigroup
-
implicit
val
scalar: Field[V]
- Definition Classes
- MapVectorSpace → VectorSpace → MapRng → Module → MapSemiring
-
def
sum(as: TraversableOnce[Map[K, V]]): Map[K, V]
Given a sequence of
as, sum them using the monoid and return the total.Given a sequence of
as, sum them using the monoid and return the total.- Definition Classes
- AdditiveMonoid
-
def
sumOption(as: TraversableOnce[Map[K, V]]): Option[Map[K, V]]
Given a sequence of
as, sum them using the semigroup and return the total.Given a sequence of
as, sum them using the semigroup and return the total.If the sequence is empty, returns None. Otherwise, returns Some(total).
- Definition Classes
- AdditiveSemigroup
-
def
sumn(a: Map[K, V], n: Int): Map[K, V]
Return
aadded with itselfntimes.Return
aadded with itselfntimes.- Definition Classes
- AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
-
def
sumnAboveOne(a: Map[K, V], n: Int): Map[K, V]
- Attributes
- protected
- Definition Classes
- AdditiveSemigroup
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(x: Map[K, V], y: Map[K, V]): Map[K, V]
- Definition Classes
- MapVectorSpace → MapSemiring → MultiplicativeSemigroup
- def timesl(r: V, v: Map[K, V]): Map[K, V]
-
def
timesr(v: Map[K, V], r: V): Map[K, V]
- Definition Classes
- Module
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
zero: Map[K, V]
- Definition Classes
- MapSemiring → AdditiveMonoid