Package Exports
- extra-function.web
Readme
A collection of ways for transforming functions.
📦 Node.js,
🌐 Web,
📜 Files,
📰 JSDoc,
📘 Wiki.
A function is a relation or expression involving one or more variables.
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 |
---|---|
[rem] | Find the remainder of x/y with sign of x (truncated division). |