LoremIpsum::gauss
Gaussian Distribution
This is some smart kid stuff. I went ahead and combined the N(0,1) logic with the N(m,s) logic into this single function. Used to calculate the number of words in a sentence, the number of sentences in a paragraph and the distribution of commas in a sentence.
Signature
Parameters
$mean
— object- average value
$std_dev
— object- stadnard deviation
Returns
- double
- calculated distribution