sample

abstract fun sample(generator: RandomGenerator): Chain<T>(source)

Generates a chain of samples.

Return

the new chain.

Parameters

generator

the randomness provider.