extra-math 1.3.10
Install from the command line:
Learn more about npm packages
$ npm install @nodef/extra-math@1.3.10
Install via package.json:
"@nodef/extra-math": "1.3.10"
About this version
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
Property | Description |
---|
- 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