Search results

206 packages found

Computes the least common multiple (lcm).

published version 1.1.2, 4 years ago10 dependents
3,184,567

Library for sampling of random values from a discrete probability distribution, using the Walker-Vose alias method.

published version 0.5.3, 4 years ago4 dependents licensed under $GPL
61,590

Sample elements from an array-like object.

published version 0.2.1, a year ago2 dependents licensed under $Apache-2.0
30,242

Test if a value is an array of probabilities that sum to one.

published version 0.2.2, 6 months ago1 dependents licensed under $Apache-2.0
30,298

Binomial distribution cumulative distribution function (CDF).

published version 0.2.2, 6 months ago5 dependents licensed under $Apache-2.0
22,279

Binomial distribution probability mass function (PMF).

published version 0.2.2, 6 months ago5 dependents licensed under $Apache-2.0
22,290

Discrete uniform distributed pseudorandom numbers.

published version 0.2.1, a year ago8 dependents licensed under $Apache-2.0 AND BSL-1.0
21,876

Bernoulli distributed pseudorandom numbers.

published version 0.2.1, a year ago8 dependents licensed under $Apache-2.0
15,781

Hypergeometric distributed pseudorandom numbers.

published version 0.2.1, a year ago6 dependents licensed under $Apache-2.0
14,679

Geometric distributed pseudorandom numbers.

published version 0.2.1, a year ago7 dependents licensed under $Apache-2.0
14,702

Natural logarithm of the probability mass function (PMF) for a negative binomial distribution.

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
10,715

Negative binomial distribution quantile function.

published version 0.2.1, 6 months ago2 dependents licensed under $Apache-2.0
10,699

Poisson distribution probability mass function (PMF).

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
11,466

Poisson distribution cumulative distribution function (CDF).

published version 0.2.2, 6 months ago3 dependents licensed under $Apache-2.0
11,962

Negative binomial distribution moment-generating function (MGF).

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
10,713

Simple pure Javascript implementation of the Cooley-Tukey algorithm. Note: fft-js was chosen as the name since a lot of the FFT implementations on NPM at the time this was published were wrappers for Ruby or C.

published version 0.0.12, 6 years ago11 dependents licensed under $MIT
8,408

Poisson distribution variance.

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
5,818

Poisson distribution moment-generating function (MGF).

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
5,800

Poisson distribution mode.

published version 0.2.2, 6 months ago2 dependents licensed under $Apache-2.0
5,790

Negative binomial distribution.

published version 0.2.1, 6 months ago1 dependents licensed under $Apache-2.0
5,669