instance

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

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

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