Empirical Continuous probability distribution function.
Continuous(g,p[:],v[:])
This function generates random variates following the Empirical Continuous distribution function described by the parameters p and v.
Parameter p represents the list of cummulative probabilities related with the values in v.
Length of p and v must be the same.
Continuous(g,{0.2,0.4,0.6,0.8,1},{1,2,3,4,5});
function Continuous input CMRG.RngStream g; input Real p[:]; input Real v[:]; output Real value; output CMRG.RngStream gout; end Continuous;