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

14 lines (13 loc) 486 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resizeDocs = void 0; var resizeDocs = exports.resizeDocs = { name: 'resize', category: 'Matrix', syntax: ['resize(x, size)', 'resize(x, size, defaultValue)'], description: 'Resize a matrix.', examples: ['resize([1,2,3,4,5], [3])', 'resize([1,2,3], [5])', 'resize([1,2,3], [5], -1)', 'resize(2, [2, 3])', 'resize("hello", [8], "!")'], seealso: ['size', 'subset', 'squeeze', 'reshape'] };