spire.random

DistEuclideanRing

trait DistEuclideanRing[A] extends EuclideanRing[Dist[A]] with DistRing[A]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DistEuclideanRing
  2. DistRing
  3. DistRng
  4. DistSemiring
  5. EuclideanRing
  6. CRing
  7. MultiplicativeCMonoid
  8. MultiplicativeCSemigroup
  9. Ring
  10. Rng
  11. AdditiveAbGroup
  12. AdditiveCMonoid
  13. AdditiveCSemigroup
  14. AdditiveGroup
  15. Rig
  16. MultiplicativeMonoid
  17. Semiring
  18. MultiplicativeSemigroup
  19. AdditiveMonoid
  20. AdditiveSemigroup
  21. AnyRef
  22. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def alg: EuclideanRing[A]

    Definition Classes
    DistEuclideanRingDistRingDistRngDistSemiring

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def additive: AbGroup[Dist[A]]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  11. final def euclid(a: Dist[A], b: Dist[A])(implicit eq: Eq[Dist[A]]): Dist[A]

    Attributes
    protected[this]
    Definition Classes
    EuclideanRing
    Annotations
    @tailrec()
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromInt(n: Int): Dist[A]

    Defined to be equivalent to additive.sumn(one, n).

    Defined to be equivalent to additive.sumn(one, n). That is, n repeated summations of this ring's one, or -one if n is negative.

    Definition Classes
    Ring
  14. def gcd(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistEuclideanRingEuclideanRing
  15. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  18. def isOne(a: Dist[A])(implicit ev: Eq[Dist[A]]): Boolean

    Definition Classes
    MultiplicativeMonoid
  19. def isZero(a: Dist[A])(implicit ev: Eq[Dist[A]]): Boolean

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  20. def lcm(a: Dist[A], b: Dist[A]): Dist[A]

    Definition Classes
    EuclideanRing
  21. def minus(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    AdditiveGroup
  22. def mod(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistEuclideanRingEuclideanRing
  23. def multiplicative: CMonoid[Dist[A]]

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def negate(x: Dist[A]): Dist[A]

    Definition Classes
    DistRngAdditiveGroup
  26. final def notify(): Unit

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

    Definition Classes
    AnyRef
  28. def one: Dist[A]

    Definition Classes
    DistRingMultiplicativeMonoid
  29. def plus(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistSemiringAdditiveSemigroup
  30. def pow(a: Dist[A], n: Int): Dist[A]

    This is similar to Semigroup#pow, except that a pow 0 is defined to be the multiplicative identity.

    This is similar to Semigroup#pow, except that a pow 0 is defined to be the multiplicative identity.

    Definition Classes
    RigSemiring
  31. def prod(as: TraversableOnce[Dist[A]]): Dist[A]

    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
    MultiplicativeMonoid
  32. def prodOption(as: TraversableOnce[Dist[A]]): Option[Dist[A]]

    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
  33. def prodn(a: Dist[A], n: Int): Dist[A]

    Return a multiplied with itself n times.

    Return a multiplied with itself n times.

    Definition Classes
    MultiplicativeMonoidMultiplicativeSemigroup
  34. def prodnAboveOne(a: Dist[A], n: Int): Dist[A]

    Attributes
    protected
    Definition Classes
    MultiplicativeSemigroup
  35. def quot(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistEuclideanRingEuclideanRing
  36. def quotmod(a: Dist[A], b: Dist[A]): (Dist[A], Dist[A])

    Definition Classes
    EuclideanRing
  37. def sum(as: TraversableOnce[Dist[A]]): Dist[A]

    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
  38. def sumOption(as: TraversableOnce[Dist[A]]): Option[Dist[A]]

    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
  39. def sumn(a: Dist[A], n: Int): Dist[A]

    Return a added with itself n times.

    Return a added with itself n times.

    Definition Classes
    AdditiveGroupAdditiveMonoidAdditiveSemigroup
  40. def sumnAboveOne(a: Dist[A], n: Int): Dist[A]

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

    Definition Classes
    AnyRef
  42. def times(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistSemiringMultiplicativeSemigroup
  43. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def zero: Dist[A]

    Definition Classes
    DistSemiringAdditiveMonoid

Inherited from DistRing[A]

Inherited from DistRng[A]

Inherited from DistSemiring[A]

Inherited from EuclideanRing[Dist[A]]

Inherited from CRing[Dist[A]]

Inherited from MultiplicativeCMonoid[Dist[A]]

Inherited from MultiplicativeCSemigroup[Dist[A]]

Inherited from Ring[Dist[A]]

Inherited from Rng[Dist[A]]

Inherited from AdditiveAbGroup[Dist[A]]

Inherited from AdditiveCMonoid[Dist[A]]

Inherited from AdditiveCSemigroup[Dist[A]]

Inherited from AdditiveGroup[Dist[A]]

Inherited from Rig[Dist[A]]

Inherited from MultiplicativeMonoid[Dist[A]]

Inherited from Semiring[Dist[A]]

Inherited from MultiplicativeSemigroup[Dist[A]]

Inherited from AdditiveMonoid[Dist[A]]

Inherited from AdditiveSemigroup[Dist[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped