DEmpiricalRVParameters

Represents the parameters required for creating a discrete empirical random variable (DEmpiricalRV).

This class provides mechanisms to define and manage the parameter values for the DEmpiricalRV type, such as an array of values and their corresponding cumulative distribution function (CDF). It also supports creating the random variable instance or its associated empirical distribution based on the defined parameters.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun createDistribution(): DEmpiricalCDF
Link copied to clipboard
open override fun createRVariable(streamNumber: Int, streamProvider: RNStreamProviderIfc): RVariableIfc
Link copied to clipboard
protected open override fun fillParameters()

This function must fill the appropriate data maps to hold the default values for the parameters. For example, for normal random variables we must do the following: