Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MathPHP
Probability
Distribution
Discrete
GeometricTest
PHP Class MathPHP\Probability\Distribution\Discrete\GeometricTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: markrogoyski/math-php
Public Methods
Method
Description
dataProviderForCDF
( )
dataProviderForPMF
( )
testCDF
(
integer
$k
,
float
$p
,
float
$cdf
)
testPMF
(
integer
$k
,
float
$p
,
float
$pmf
)
Method Details
dataProviderForCDF()
public
method
public
dataProviderForCDF
( )
dataProviderForPMF()
public
method
public
dataProviderForPMF
( )
testCDF()
public
method
public
testCDF
(
integer
$k
,
float
$p
,
float
$cdf
)
$k
integer
$p
float
$cdf
float
testPMF()
public
method
public
testPMF
(
integer
$k
,
float
$p
,
float
$pmf
)
$k
integer
$p
float
$pmf
float