spire.random

DistRig

trait DistRig[A] extends DistSemiring[A] with Rig[Dist[A]]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DistRig
  2. Rig
  3. MultiplicativeMonoid
  4. DistSemiring
  5. Semiring
  6. MultiplicativeSemigroup
  7. AdditiveMonoid
  8. AdditiveSemigroup
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def alg: Rig[A]

    Definition Classes
    DistRigDistSemiring

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: Monoid[Dist[A]]

    Definition Classes
    AdditiveMonoidAdditiveSemigroup
  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. def finalize(): Unit

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

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

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

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

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

    Tests if a is zero.

    Tests if a is zero.

    Definition Classes
    AdditiveMonoid
  17. def multiplicative: Monoid[Dist[A]]

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

    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

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

    Definition Classes
    DistRigMultiplicativeMonoid
  22. def plus(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistSemiringAdditiveSemigroup
  23. 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
  24. 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
  25. 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
  26. 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
  27. def prodnAboveOne(a: Dist[A], n: Int): Dist[A]

    Attributes
    protected
    Definition Classes
    MultiplicativeSemigroup
  28. 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
  29. 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
  30. 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
    AdditiveMonoidAdditiveSemigroup
  31. def sumnAboveOne(a: Dist[A], n: Int): Dist[A]

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

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

    Definition Classes
    DistSemiringMultiplicativeSemigroup
  34. def toString(): String

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

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

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

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

    Definition Classes
    DistSemiringAdditiveMonoid

Inherited from Rig[Dist[A]]

Inherited from MultiplicativeMonoid[Dist[A]]

Inherited from DistSemiring[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