tnScale - A scaled distribution
| baseDistribution : | Distribution__Probability (pass by const reference) |
| The distribution to be transformed. | |
| lambda : | Probability (pass by const reference) |
| The amount muled to base random variable. |
x ~ tnScale(dExponential(1),2) # An Exponential(rate=0.5) random variable.
x ~ dnExponential(1) |> tnScale(2) # Expressed using pipes.