Ejemplo n.º 1
0
 /**
  * Constructs an ExponentialRV.
  */
 public function __construct($mu = 1.0)
 {
     parent::__construct();
     $this->mu = $mu;
 }
Ejemplo n.º 2
0
 /**
  * Constructs a SimpleRV.
  */
 public function __construct()
 {
     parent::__construct();
 }
Ejemplo n.º 3
0
 /**
  * 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;
 }