mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
14 lines (13 loc) • 509 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.mapDocs = void 0;
const mapDocs = exports.mapDocs = {
name: 'map',
category: 'Matrix',
syntax: ['map(x, callback)', 'map(x, y, ..., callback)'],
description: 'Create a new matrix or array with the results of the callback function executed on each entry of the matrix/array or the matrices/arrays.',
examples: ['map([1, 2, 3], square)', 'map([1, 2], [3, 4], f(a,b) = a + b)'],
seealso: ['filter', 'forEach']
};
;