GeneralizedBetaRV

class GeneralizedBetaRV @JvmOverloads constructor(val alpha: Double, val beta: Double, val min: Double, val max: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : ParameterizedRV(source)

GeneralizeBetaRV(alpha1, alpha2, min, max) random variable

Parameters

alpha

the alpha shape parameter, must be greater than 0

beta

the beta shape parameter, must be greater than 0

min

the minimum of the range, must be less than maximum

max

the maximum of the range

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

an optional name

Constructors

Link copied to clipboard
constructor(alpha: Double, beta: Double, min: Double, max: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val max: Double
Link copied to clipboard
val min: Double
Link copied to clipboard
open override val parameters: RVParameters

Returns the parameters in a parameter map alpha the alpha shape parameter beta the beta shape parameter min the minimum of the range max the maximum of the range

Functions

Link copied to clipboard
open override fun instance(streamNum: Int, rnStreamProvider: RNStreamProviderIfc): GeneralizedBetaRV
Link copied to clipboard
open override fun toString(): String