PHP Class MathPHP\Probability\Distribution\Discrete\NegativeBinomialTest

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

Méthodes publiques

Méthode Description
dataProviderForPMF ( ) Data provider for negative binomial PMF Data: [ x, r, P, negative binomial distribution ]
testPMF ( integer $x, integer $r, float $P, float $pmf )

Method Details

dataProviderForPMF() public méthode

Data provider for negative binomial PMF Data: [ x, r, P, negative binomial distribution ]
public dataProviderForPMF ( )

testPMF() public méthode

public testPMF ( integer $x, integer $r, float $P, float $pmf )
$x integer
$r integer
$P float
$pmf float