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

15 lines (14 loc) 432 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.filterDocs = void 0; var filterDocs = { name: 'filter', category: 'Matrix', syntax: ['filter(x, test)'], description: 'Filter items in a matrix.', examples: ['isPositive(x) = x > 0', 'filter([6, -2, -1, 4, 3], isPositive)', 'filter([6, -2, 0, 1, 0], x != 0)'], seealso: ['sort', 'map', 'forEach'] }; exports.filterDocs = filterDocs;