simple-squiggle

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

concat.js (676B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.concatDocs = void 0;
      7 var concatDocs = {
      8   name: 'concat',
      9   category: 'Matrix',
     10   syntax: ['concat(A, B, C, ...)', 'concat(A, B, C, ..., dim)'],
     11   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.',
     12   examples: ['A = [1, 2; 5, 6]', 'B = [3, 4; 7, 8]', 'concat(A, B)', 'concat(A, B, 1)', 'concat(A, B, 2)'],
     13   seealso: ['det', 'diag', 'identity', 'inv', 'ones', 'range', 'size', 'squeeze', 'subset', 'trace', 'transpose', 'zeros']
     14 };
     15 exports.concatDocs = concatDocs;