RVFunction

constructor(theFirst: RVariableIfc, theSecond: RVariableIfc, theTransform: (f: Double, s: Double) -> Double = { f: Double, s: Double -> f + s })

This represents a bi-variate functional. The stream number and provider are determined by the first random variable.

Parameters

theFirst

the first random variable in the function mapping

theSecond

the second random variable in the function mapping

theTransform

the functional transformation using (first, second) to produce a double


constructor(theFirst: ConstantRV, theSecond: RVariableIfc, theTransform: (f: Double, s: Double) -> Double = { f: Double, s: Double -> f + s })

This represents a bi-variate functional. The stream number and provider are determined by the non-constant random variable.

Parameters

theFirst

the first random variable in the function mapping

theSecond

the second random variable in the function mapping

theTransform

the functional transformation using (first, second) to produce a double