MathPHP\Probability\Distribution\Discrete\GeometricTest::testPMF PHP Метод

testPMF() публичный Метод

public testPMF ( integer $k, float $p, float $pmf )
$k integer
$p float
$pmf float
    public function testPMF(int $k, float $p, float $pmf)
    {
        $this->assertEquals($pmf, Geometric::PMF($k, $p), '', 0.001);
    }