simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

concat.js (541B)


      1 export var concatDocs = {
      2   name: 'concat',
      3   category: 'Matrix',
      4   syntax: ['concat(A, B, C, ...)', 'concat(A, B, C, ..., dim)'],
      5   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.',
      6   examples: ['A = [1, 2; 5, 6]', 'B = [3, 4; 7, 8]', 'concat(A, B)', 'concat(A, B, 1)', 'concat(A, B, 2)'],
      7   seealso: ['det', 'diag', 'identity', 'inv', 'ones', 'range', 'size', 'squeeze', 'subset', 'trace', 'transpose', 'zeros']
      8 };