spire.std

MapRng

class MapRng[K, V] extends RingAlgebra[Map[K, V], V] with Serializable

Self Type
MapRng[K, V]
Annotations
@SerialVersionUID()
Linear Supertypes
Serializable, Serializable, RingAlgebra[Map[K, V], V], Rng[Map[K, V]], Semiring[Map[K, V]], MultiplicativeSemigroup[Map[K, V]], Module[Map[K, V], V], AdditiveAbGroup[Map[K, V]], AdditiveCMonoid[Map[K, V]], AdditiveCSemigroup[Map[K, V]], AdditiveGroup[Map[K, V]], AdditiveMonoid[Map[K, V]], AdditiveSemigroup[Map[K, V]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MapRng
  2. Serializable
  3. Serializable
  4. RingAlgebra
  5. Rng
  6. Semiring
  7. MultiplicativeSemigroup
  8. Module
  9. AdditiveAbGroup
  10. AdditiveCMonoid
  11. AdditiveCSemigroup
  12. AdditiveGroup
  13. AdditiveMonoid
  14. AdditiveSemigroup
  15. AnyRef
  16. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapRng()(implicit scalar: Rng[V])

Value Members

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

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

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

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

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Definition Classes
    MapRngAdditiveGroup
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Definition Classes
    MapRngAdditiveSemigroup
  20. def pow(a: Map[K, V], n: Int): Map[K, V]

    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
  21. implicit val scalar: Rng[V]

    Definition Classes
    MapRngModule
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Definition Classes
    MapRngMultiplicativeSemigroup
  24. def timesl(r: V, v: Map[K, V]): Map[K, V]

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

    Definition Classes
    Module
  26. def toString(): String

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

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

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

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

    Definition Classes
    MapRngAdditiveMonoid

Inherited from Serializable

Inherited from Serializable

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

Inherited from Rng[Map[K, V]]

Inherited from Semiring[Map[K, V]]

Inherited from MultiplicativeSemigroup[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 AdditiveMonoid[Map[K, V]]

Inherited from AdditiveSemigroup[Map[K, V]]

Inherited from AnyRef

Inherited from Any

Ungrouped