tnShift
- A shifted distribution
baseDistribution : | Distribution__RealPos (pass by const reference) |
The distribution to be transformed. | |
delta : | RealPos (pass by const reference) |
The amount added to base random variable. |
x ~ tnShift(dExponential(1),2) # An exponential variable starting at 2.
x ~ dnExponential(1) |> tnShift(2) # Expressed using pipes.