Class

spire.std

MapInnerProductSpace

Related Doc: package std

Permalink

class MapInnerProductSpace[K, V] extends MapVectorSpace[K, V] with InnerProductSpace[Map[K, V], V] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
InnerProductSpace[Map[K, V], V], MapVectorSpace[K, V], VectorSpace[Map[K, V], V], MapRng[K, V], RingAlgebra[Map[K, V], V], Rng[Map[K, V]], Module[Map[K, V], V], AdditiveAbGroup[Map[K, V]], AdditiveCMonoid[Map[K, V]], AdditiveCSemigroup[Map[K, V]], AdditiveGroup[Map[K, V]], MapSemiring[K, V], Serializable, Serializable, Semiring[Map[K, V]], MultiplicativeSemigroup[Map[K, V]], AdditiveMonoid[Map[K, V]], AdditiveSemigroup[Map[K, V]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapInnerProductSpace
  2. InnerProductSpace
  3. MapVectorSpace
  4. VectorSpace
  5. MapRng
  6. RingAlgebra
  7. Rng
  8. Module
  9. AdditiveAbGroup
  10. AdditiveCMonoid
  11. AdditiveCSemigroup
  12. AdditiveGroup
  13. MapSemiring
  14. Serializable
  15. Serializable
  16. Semiring
  17. MultiplicativeSemigroup
  18. AdditiveMonoid
  19. AdditiveSemigroup
  20. AnyRef
  21. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapInnerProductSpace()(implicit arg0: Field[V])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def additive: AbGroup[Map[K, V]]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def divr(v: Map[K, V], f: V): Map[K, V]

    Permalink
    Definition Classes
    VectorSpace
  8. def dot(x: Map[K, V], y: Map[K, V]): V

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isZero(a: Map[K, V])(implicit ev: Eq[Map[K, V]]): Boolean

    Permalink

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  16. def minus(x: Map[K, V], y: Map[K, V]): Map[K, V]

    Permalink
    Definition Classes
    AdditiveGroup
  17. def multiplicative: Semigroup[Map[K, V]]

    Permalink
    Definition Classes
    MultiplicativeSemigroup
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def negate(x: Map[K, V]): Map[K, V]

    Permalink
    Definition Classes
    MapRngAdditiveGroup
  20. def normed(implicit ev: NRoot[V]): NormedVectorSpace[Map[K, V], V]

    Permalink
    Definition Classes
    InnerProductSpace
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def plus(x: Map[K, V], y: Map[K, V]): Map[K, V]

    Permalink
    Definition Classes
    MapSemiringAdditiveSemigroup
  24. def pow(a: Map[K, V], n: Int): Map[K, V]

    Permalink

    Returns a multiplied with itself n times.

    Returns a multiplied with itself n times. 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
  25. def prodOption(as: TraversableOnce[Map[K, V]]): Option[Map[K, V]]

    Permalink

    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
  26. def prodn(a: Map[K, V], n: Int): Map[K, V]

    Permalink

    Return a multiplied with itself n times.

    Return a multiplied with itself n times.

    Definition Classes
    MultiplicativeSemigroup
  27. def prodnAboveOne(a: Map[K, V], n: Int): Map[K, V]

    Permalink
    Attributes
    protected
    Definition Classes
    MultiplicativeSemigroup
  28. implicit val scalar: Field[V]

    Permalink
    Definition Classes
    MapVectorSpaceVectorSpaceMapRngModuleMapSemiring
  29. def sum(as: TraversableOnce[Map[K, V]]): Map[K, V]

    Permalink

    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
  30. def sumOption(as: TraversableOnce[Map[K, V]]): Option[Map[K, V]]

    Permalink

    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
  31. def sumn(a: Map[K, V], n: Int): Map[K, V]

    Permalink

    Return a added with itself n times.

    Return a added with itself n times.

    Definition Classes
    AdditiveGroupAdditiveMonoidAdditiveSemigroup
  32. def sumnAboveOne(a: Map[K, V], n: Int): Map[K, V]

    Permalink
    Attributes
    protected
    Definition Classes
    AdditiveSemigroup
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def times(x: Map[K, V], y: Map[K, V]): Map[K, V]

    Permalink
  35. def timesl(r: V, v: Map[K, V]): Map[K, V]

    Permalink
    Definition Classes
    MapRngModule
  36. def timesr(v: Map[K, V], r: V): Map[K, V]

    Permalink
    Definition Classes
    Module
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def zero: Map[K, V]

    Permalink
    Definition Classes
    MapSemiringAdditiveMonoid

Inherited from InnerProductSpace[Map[K, V], V]

Inherited from MapVectorSpace[K, V]

Inherited from VectorSpace[Map[K, V], V]

Inherited from MapRng[K, V]

Inherited from RingAlgebra[Map[K, V], V]

Inherited from Rng[Map[K, V]]

Inherited from Module[Map[K, V], V]

Inherited from AdditiveAbGroup[Map[K, V]]

Inherited from AdditiveCMonoid[Map[K, V]]

Inherited from AdditiveCSemigroup[Map[K, V]]

Inherited from AdditiveGroup[Map[K, V]]

Inherited from MapSemiring[K, V]

Inherited from Serializable

Inherited from Serializable

Inherited from Semiring[Map[K, V]]

Inherited from MultiplicativeSemigroup[Map[K, V]]

Inherited from AdditiveMonoid[Map[K, V]]

Inherited from AdditiveSemigroup[Map[K, V]]

Inherited from AnyRef

Inherited from Any

Ungrouped