Student TRV
class StudentTRV @JvmOverloads constructor(val degreesOfFreedom: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : RVariable(source)
Constructs a StudentT random variable with dof degrees of freedom
Parameters
degrees Of Freedom
degrees of freedom, must be greater than or equal to 1.0
stream Num
the random number stream number, defaults to 0, which means the next stream
stream Provider
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider
name
an optional name
Constructors
Link copied to clipboard
constructor(degreesOfFreedom: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)
Functions
Link copied to clipboard
Directly generate a random variate using Bailey's acceptance-rejection algorithm
Link copied to clipboard
open override fun instance(streamNum: Int = 0, rnStreamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider): StudentTRV