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

10 lines (9 loc) 333 B
"use strict"; module.exports = { 'name': 'flatten', 'category': 'Matrix', 'syntax': ['flatten(x)'], 'description': 'Flatten a multi dimensional matrix into a single dimensional matrix.', 'examples': ['a = [1, 2, 3; 4, 5, 6]', 'size(a)', 'b = flatten(a)', 'size(b)'], 'seealso': ['concat', 'resize', 'size', 'squeeze'] };