UNPKG

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

10 lines (9 loc) 323 B
"use strict"; module.exports = { 'name': 'map', 'category': 'Matrix', 'syntax': ['map(x, callback)'], 'description': 'Create a new matrix or array with the results of the callback function executed on each entry of the matrix/array.', 'examples': ['map([1, 2, 3], square)'], 'seealso': ['filter', 'forEach'] };