fullpipe / normal-distribution
Simple php lib for basic Normal distribution calculations
dev-master
2016-06-13 12:27 UTC
Requires
- php: >=5.3.2
Requires (Dev)
- phpspec/phpspec: ^2.5
- phpunit/phpunit: ^5.4
This package is auto-updated.
Last update: 2024-11-27 01:35:18 UTC
README
Simple php lib for basic Normal distribution calculations
$snd = new \Fullpipe\NormalDistribution\StandardNormalDistribution(); echo $snd->pdf(1); echo $snd->cdf(1); echo $snd->invCdf(0.5); $gnd = new \Fullpipe\NormalDistribution\GeneralNormalDistribution(100, 9); echo $gnd->pdf(50); echo $gnd->cdf(50); echo $gnd->invCdf(0.5);