Package Exports
- extra-math.web
Readme
This package includes some common statistics functions.
📦 Node.js,
🌐 Web,
📜 Files,
📰 JSDoc,
📘 Wiki.
Mathematics is the classification and study of all possible patterns. (1)
This package is available in both Node.js and Web formats. The web format is
exposed as extra_math
standalone variable and can be loaded from jsDelivr CDN.
Stability: Experimental.
const math = require('extra-math');
// import * as math from "extra-math";
// import * as math from "https://unpkg.com/extra-math/index.mjs"; (deno)
math.sum(1, 2, 3, 4);
// 10
math.median(1, 7, 8);
// 7
math.variance(1, 2, 3, 4);
// 1.25
math.lcm(2, 3, 4);
// 12
Index
Property | Description |
---|
References
- Yang, Z. H., & Tian, J. F. (2018). An accurate approximation formula for gamma function. Journal of inequalities and applications, 2018(1), 56.
- MathLib by @alawatthe
- Processing Reference
- Common mathematical functions by cppreference
- Modulo operation
- Euclidean algorithm
- Least common multiple
- Permutation
- Binomial coefficient
- Multinomial distribution