PHP Class MathPHP\Probability\Distribution\Discrete\BinomialTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: markrogoyski/math-php

Méthodes publiques

Méthode Description
dataProviderForCDF ( ) Data provider for cdf Data: [ n, r, p, cdf ]
dataProviderForPMF ( ) Data provider for binomial Data: [ n, r, p, binomial distribution ]
testCDF ( integer $n, integer $r, float $p, float $cdf )
testPMF ( integer $n, integer $r, float $p, float $pmf )

Method Details

dataProviderForCDF() public méthode

Data provider for cdf Data: [ n, r, p, cdf ]
public dataProviderForCDF ( )

dataProviderForPMF() public méthode

Data provider for binomial Data: [ n, r, p, binomial distribution ]
public dataProviderForPMF ( )

testCDF() public méthode

public testCDF ( integer $n, integer $r, float $p, float $cdf )
$n integer
$r integer
$p float
$cdf float

testPMF() public méthode

public testPMF ( integer $n, integer $r, float $p, float $pmf )
$n integer
$r integer
$p float
$pmf float