simple-squiggle/node_modules/mathjs/lib/cjs/expression/embeddedDocs/function/matrix/reshape.js

15 lines
491 B
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.reshapeDocs = void 0;
var 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])'],
seealso: ['size', 'squeeze', 'resize']
};
exports.reshapeDocs = reshapeDocs;