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

18 lines (17 loc) 429 B
module.exports = { 'name': 'squeeze', 'category': 'Matrix', 'syntax': [ 'squeeze(x)' ], 'description': 'Remove inner and outer singleton dimensions from a matrix.', 'examples': [ 'a = zeros(3,2,1)', 'size(squeeze(a))', 'b = zeros(1,1,3)', 'size(squeeze(b))' ], 'seealso': [ 'concat', 'det', 'diag', 'identity', 'inv', 'ones', 'range', 'size', 'subset', 'trace', 'transpose', 'zeros' ] }