3.0.1 • Published 4 years ago

random-z v3.0.1

Weekly downloads
1,347
License
MIT
Repository
github
Last release
4 years ago

random-z

random number generator following the normal standard distribution

IntroductionInstallationUsageTestLicense

Introduction

Simple and small standalone random number generator for Z, the standard normal distribution with an average of 0 and a variance of 1 (μ=0, σ=1). The random number generator uses the Marsaglia polar method. The additional independent random sample is cashed for the next call.

Usage

The function takes no parameters and returns a random number. Available in cjs (require), es6 (import) or browser (script) formats

import Z from 'random-z'
var newRandomSample = Z()

License

MIT © Hugo Villeneuve

3.0.1

4 years ago

3.0.0

4 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago