spire.random

DistField

trait DistField[A] extends Field[Dist[A]] with DistEuclideanRing[A]

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

Abstract Value Members

  1. abstract def alg: Field[A]

    Definition Classes
    DistFieldDistEuclideanRingDistRingDistRngDistSemiring

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

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def div(x: Dist[A], y: Dist[A]): Dist[A]

    Definition Classes
    DistFieldMultiplicativeGroup
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromDouble(a: Double): Dist[A]

    This is implemented in terms of basic Field ops.

    This is implemented in terms of basic Field ops. However, this is probably significantly less efficient than can be done with a specific type. So, it is recommended that this method is overriden.

    This is possible because a Double is a rational number.

    Definition Classes
    Field
  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 lcm(a: Dist[A], b: Dist[A]): Dist[A]

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

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

    Definition Classes
    DistEuclideanRingEuclideanRing
  21. def multiplicative: AbGroup[Dist[A]]

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

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

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

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

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

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

    Definition Classes
    DistSemiringAdditiveSemigroup
  28. 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
  29. def quot(x: Dist[A], y: Dist[A]): Dist[A]

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

    Definition Classes
    EuclideanRing
  31. def reciprocal(x: Dist[A]): Dist[A]

    Definition Classes
    DistFieldMultiplicativeGroup
  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 DistEuclideanRing[A]

Inherited from DistRing[A]

Inherited from DistRng[A]

Inherited from DistSemiring[A]

Inherited from Field[Dist[A]]

Inherited from MultiplicativeAbGroup[Dist[A]]

Inherited from MultiplicativeGroup[Dist[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