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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def count(pred: (A) ⇒ Boolean, n: Int)(implicit gen: Generator): Int

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

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

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

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

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

  12. def finalize(): Unit

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

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

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

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

  17. def hashCode(): Int

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

  19. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  35. def toString(): String

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

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

  38. final def wait(): Unit

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped