simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/matrix/concat.js

8 lines
541 B
JavaScript
Raw Normal View History

export var concatDocs = {
name: 'concat',
category: 'Matrix',
syntax: ['concat(A, B, C, ...)', 'concat(A, B, C, ..., dim)'],
description: 'Concatenate matrices. By default, the matrices are concatenated by the last dimension. The dimension on which to concatenate can be provided as last argument.',
examples: ['A = [1, 2; 5, 6]', 'B = [3, 4; 7, 8]', 'concat(A, B)', 'concat(A, B, 1)', 'concat(A, B, 2)'],
seealso: ['det', 'diag', 'identity', 'inv', 'ones', 'range', 'size', 'squeeze', 'subset', 'trace', 'transpose', 'zeros']
};