spire.algebra

ZModule

Related Doc: package algebra

final case class ZModule[V](vector: Group[V]) extends Module[V, Int] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Module[V, Int], AdditiveAbGroup[V], AdditiveCMonoid[V], AdditiveCSemigroup[V], AdditiveGroup[V], AdditiveMonoid[V], AdditiveSemigroup[V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZModule
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Module
  7. AdditiveAbGroup
  8. AdditiveCMonoid
  9. AdditiveCSemigroup
  10. AdditiveGroup
  11. AdditiveMonoid
  12. AdditiveSemigroup
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZModule(vector: Group[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[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 finalize(): Unit

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

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

    Definition Classes
    Any
  11. def isZero(a: V)(implicit ev: Eq[V]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  12. def minus(x: V, y: V): V

    Definition Classes
    AdditiveGroup
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def negate(v: V): V

    Definition Classes
    ZModule → AdditiveGroup
  15. final def notify(): Unit

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

    Definition Classes
    AnyRef
  17. def plus(v: V, w: V): V

    Definition Classes
    ZModule → AdditiveSemigroup
  18. def scalar: IntAlgebra

    Definition Classes
    ZModule → Module
  19. def sum(as: TraversableOnce[V]): 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
  20. def sumOption(as: TraversableOnce[V]): Option[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
  21. def sumn(a: V, n: Int): V

    Return a added with itself n times.

    Return a added with itself n times.

    Definition Classes
    AdditiveGroup → AdditiveMonoid → AdditiveSemigroup
  22. def sumnAboveOne(a: V, n: Int): V

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

    Definition Classes
    AnyRef
  24. def timesl(k: Int, v: V): V

    Definition Classes
    ZModule → Module
  25. def timesr(v: V, r: Int): V

    Definition Classes
    Module
  26. val vector: Group[V]

  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: V

    Definition Classes
    ZModule → AdditiveMonoid

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Module[V, Int]

Inherited from AdditiveAbGroup[V]

Inherited from AdditiveCMonoid[V]

Inherited from AdditiveCSemigroup[V]

Inherited from AdditiveGroup[V]

Inherited from AdditiveMonoid[V]

Inherited from AdditiveSemigroup[V]

Inherited from AnyRef

Inherited from Any

Ungrouped