sample

abstract fun sample(): Double

Return

generates a random value


open fun sample(sampleSize: Int): DoubleArray

Generates a random generated sample of the give size

Return

An array holding the generated values

Parameters

sampleSize

the amount to fill