Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fullpipe/normal-distribution
Basic Normal distribution calculations
https://github.com/fullpipe/normal-distribution
Last synced: about 4 hours ago
JSON representation
Basic Normal distribution calculations
- Host: GitHub
- URL: https://github.com/fullpipe/normal-distribution
- Owner: fullpipe
- License: mit
- Created: 2016-06-13T12:28:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-13T12:28:09.000Z (over 8 years ago)
- Last Synced: 2024-04-04T09:20:31.251Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic Normal distribution calculations
Simple php lib for basic Normal distribution calculations```php
$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);
```