/** * Constructs an ExponentialRV. */ public function __construct($mu = 1.0) { parent::__construct(); $this->mu = $mu; }
/** * Constructs a SimpleRV. */ public function __construct() { parent::__construct(); }
/** * Constructs a UniformRV. * * @param float $u The lower bound. * @param float $v The upper bound. */ public function __construct($u = 0.0, $v = 1.0) { parent::__construct(); $this->u = $u; $this->v = $v; }