probability_monad

Distribution

trait Distribution[A] extends AnyRef

Self Type
Distribution[A]
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Distribution
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def get: A

    Attributes
    protected[probability_monad]

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. def *(x: A)(implicit n: Numeric[A]): Distribution[A]

  5. def *(d: Distribution[A])(implicit n: Numeric[A]): Distribution[A]

  6. def +(x: A)(implicit n: Numeric[A]): Distribution[A]

  7. def +(d: Distribution[A])(implicit n: Numeric[A]): Distribution[A]

  8. def -(x: A)(implicit n: Numeric[A]): Distribution[A]

  9. def -(d: Distribution[A])(implicit n: Numeric[A]): Distribution[A]

  10. def /(x: A)(implicit toDouble: <:<[A, Double]): Distribution[Double]

  11. def /(d: Distribution[A])(implicit toDouble: <:<[A, Double]): Distribution[Double]

  12. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def bucketedHist(min: Double, max: Double, nbuckets: Int, roundDown: Boolean = false)(implicit ord: Ordering[A], toDouble: <:<[A, Double]): Unit

  16. def bucketedHist(buckets: Int)(implicit ord: Ordering[A], toDouble: <:<[A, Double]): Unit

  17. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  20. def ev(implicit toDouble: <:<[A, Double]): Double

  21. def filter(pred: (A) ⇒ Boolean): Distribution[A]

  22. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def flatMap[B](f: (A) ⇒ Distribution[B]): Distribution[B]

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def given(pred: (A) ⇒ Boolean): Distribution[A]

  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. def hist(implicit ord: Ordering[A] = null, d: <:<[A, Double] = null): Unit

  28. def histData: Map[A, Double]

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def kurtosis(implicit toDouble: <:<[A, Double]): Double

  31. def map[B](f: (A) ⇒ B): Distribution[B]

  32. def markov(pred: (A) ⇒ Boolean)(f: (A) ⇒ Distribution[A]): Distribution[A]

  33. final def markov(n: Int)(f: (A) ⇒ Distribution[A]): Distribution[A]

    Markov chains

    Markov chains

    Annotations
    @tailrec()
  34. def mean(implicit toDouble: <:<[A, Double]): Double

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

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

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

    Definition Classes
    AnyRef
  38. def posterior[B](experiment: (A) ⇒ Distribution[B])(observed: (B) ⇒ Boolean): Distribution[A]

    Using this distribution as a prior, compute the posterior distribution after running an experiment and observing some outcomes and not others.

  39. def pr(pred: (A) ⇒ Boolean, given: (A) ⇒ Boolean = (a: A) => true, samples: Int = N): Double

  40. def repeat(n: Int): Distribution[List[A]]

  41. def sample(n: Int = N): List[A]

  42. def samplePar(n: Int = N): ParSeq[A]

  43. def skewness(implicit toDouble: <:<[A, Double]): Double

  44. def stdev(implicit toDouble: <:<[A, Double]): Double

  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  46. def toString(): String

    Definition Classes
    Distribution → AnyRef → Any
  47. def until(pred: (List[A]) ⇒ Boolean): Distribution[List[A]]

  48. def variance(implicit toDouble: <:<[A, Double]): Double

  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def withFilter(pred: (A) ⇒ Boolean): Distribution[A]

  53. def zip[B](d: Distribution[B]): Distribution[(A, B)]

  54. def zipWith[B, C](d: Distribution[B])(f: (A, B) ⇒ C): Distribution[C]

Inherited from AnyRef

Inherited from Any

Ungrouped