コード例 #1
0
ファイル: Beta.php プロジェクト: icomefromthenet/faker
 /**
  * Constructor function
  * 
  * @param Gamma $gamma the gamma calculator
  * @param GeneratorInterface $gen instance of generator
  * @param BasicStats $stats instance of the basic stats calculator
  */
 public function __construct(Gamma $gamma, GeneratorInterface $gen, BasicStats $stats)
 {
     $this->gamma = $gamma;
     parent::__construct($gen, $stats);
 }
コード例 #2
0
ファイル: F.php プロジェクト: icomefromthenet/faker
 /**
  *  Class Constructor
  *
  *  @param GeneratorInterface $gen
  *  @param BasicStats $stats
  *  @param ChiSquare instance of ChiSquare Calculator
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, ChiSquare $chi)
 {
     $this->chi = $chi;
     parent::__construct($gen, $stats);
 }
コード例 #3
0
ファイル: Cauchy.php プロジェクト: icomefromthenet/faker
 /**
  * Constructor function
  * 
  * @param GeneratorInterfac $$gen instance of the generator
  * @param BasicStats $stats instance of stats
  * @param Normal $normal instance of the normal Calculator
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, Normal $normal)
 {
     $this->normal = $normal;
     parent::__construct($gen, $stats);
 }
コード例 #4
0
ファイル: Weibull.php プロジェクト: icomefromthenet/faker
 /**
  *  Class Constructor
  *
  *  @param GeneratorInterface $gen
  *  @param BasicStats $stats
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, Exponential $exp)
 {
     $this->exp = $exp;
     parent::__construct($gen, $stats);
 }
コード例 #5
0
ファイル: Rayleigh.php プロジェクト: icomefromthenet/faker
 /**
  *  Class Constructor
  *
  *  @param GeneratorInterface $gen
  *  @param BasicStats $stats
  *  @param Weibull $wei
  */
 public function __construct(GeneratorInterface $gen, BasicStats $stats, Weibull $wei)
 {
     $this->wei = $wei;
     parent::__construct($gen, $stats);
 }