class RejectionSampler(_sample: () => (Vector[Double], Lazy[Double]), val accept: Vector[Double] => Boolean)
Rejection sampler with a predicate and a state.
- Companion
- object
class Object
trait Matchable
class Any
Value members
Concrete methods
@tailrec
final
def sampleVector(n: Int, state: State, res: List[(Vector[Double], Double)]): (State, Vector[(Vector[Double], Double)])