spire.random

Dist

trait Dist[A] extends AnyRef

Self Type
Dist[A]
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Dist
  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 apply(gen: Generator): A

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 apply(gen: Generator): (Generator, A)

  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 count(pred: (A) ⇒ Boolean, n: Int)(implicit gen: Generator): Int

  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def ev(n: Int)(implicit gen: Generator, alg: Field[A]): A

  11. def fill(gen: Generator, arr: Array[A]): Unit

  12. final def filter(pred: (A) ⇒ Boolean): Dist[A]

  13. def finalize(): Unit

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

  15. def foldn[B](init: B, n: Int)(f: (B, A) ⇒ B): Dist[B]

  16. final def get()(implicit gen: Generator): A

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

    Definition Classes
    AnyRef → Any
  18. final def given(pred: (A) ⇒ Boolean): Dist[A]

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def histogram(n: Int)(implicit gen: Generator): Map[A, Double]

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def iterate(n: Int, f: (A) ⇒ Dist[A]): Dist[A]

  23. def iterateUntil(pred: (A) ⇒ Boolean, f: (A) ⇒ Dist[A]): Dist[A]

  24. final def map[B](f: (A) ⇒ B): Dist[B]

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

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

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

    Definition Classes
    AnyRef
  28. def pack(n: Int)(implicit ct: ClassTag[A]): Dist[Array[A]]

  29. def pr(pred: (A) ⇒ Boolean, n: Int)(implicit gen: Generator): Double

  30. def rawHistogram(n: Int)(implicit gen: Generator): Map[A, Int]

  31. def repeat[CC[A] <: Seq[A]](n: Int)(implicit cbf: CanBuildFrom[Nothing, A, CC[A]]): Dist[CC[A]]

  32. def sample[CC[A] <: Iterable[A]](n: Int)(implicit gen: Generator, cbf: CanBuildFrom[CC[A], A, CC[A]]): CC[A]

  33. def sum(n: Int)(implicit gen: Generator, alg: Rig[A]): A

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

    Definition Classes
    AnyRef
  35. final def toIterator(gen: Generator): Iterator[A]

  36. final def toStream(gen: Generator): Stream[A]

  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def unfold[B](init: B)(f: (B, A) ⇒ B)(pred: (B) ⇒ Boolean): Dist[B]

  39. def until(pred: (A) ⇒ Boolean): Dist[Seq[A]]

  40. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def zip[B](that: Dist[B]): Dist[(A, B)]

  44. def zipWith[B, C](that: Dist[B])(f: (A, B) ⇒ C): Dist[C]

Inherited from AnyRef

Inherited from Any

Ungrouped