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

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

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

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

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

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

  15. def finalize(): Unit

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

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

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

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

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

  21. def hashCode(): Int

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

  23. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  39. def toString(): String

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

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

  42. final def wait(): Unit

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped