UNPKG

353 BJavaScriptView Raw
1export var reshapeDocs = {
2 name: 'reshape',
3 category: 'Matrix',
4 syntax: ['reshape(x, sizes)'],
5 description: 'Reshape a multi dimensional array to fit the specified dimensions.',
6 examples: ['reshape([1, 2, 3, 4, 5, 6], [2, 3])', 'reshape([[1, 2], [3, 4]], [1, 4])', 'reshape([[1, 2], [3, 4]], [4])'],
7 seealso: ['size', 'squeeze', 'resize']
8};
\No newline at end of file