PHP Class MathPHP\Probability\Distribution\Discrete\NegativeBinomialTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostra file Open project: markrogoyski/math-php

Public Methods

Method 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 method

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

testPMF() public method

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