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) 512 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.reshapeDocs = void 0; var reshapeDocs = exports.reshapeDocs = { name: 'reshape', category: 'Matrix', syntax: ['reshape(x, sizes)'], description: 'Reshape a multi dimensional array to fit the specified dimensions.', examples: ['reshape([1, 2, 3, 4, 5, 6], [2, 3])', 'reshape([[1, 2], [3, 4]], [1, 4])', 'reshape([[1, 2], [3, 4]], [4])', 'reshape([1, 2, 3, 4], [-1, 2])'], seealso: ['size', 'squeeze', 'resize'] };