instance

abstract override fun instance(streamNum: Int, rnStreamProvider: RNStreamProviderIfc): RVariableIfc(source)

Return

a new instance with same parameter values

Parameters

streamNum

the stream number to use from the underlying provider

rnStreamProvider

the provider for the stream instance


abstract fun instance(streamNum: Int = 0): RVariableIfc(source)

An instance of the random variable with the stream provided by the same underlying stream provider