simple-squiggle

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

matrix.js (462B)


      1 export var matrixDocs = {
      2   name: 'matrix',
      3   category: 'Construction',
      4   syntax: ['[]', '[a1, b1, ...; a2, b2, ...]', 'matrix()', 'matrix("dense")', 'matrix([...])'],
      5   description: 'Create a matrix.',
      6   examples: ['[]', '[1, 2, 3]', '[1, 2, 3; 4, 5, 6]', 'matrix()', 'matrix([3, 4])', 'matrix([3, 4; 5, 6], "sparse")', 'matrix([3, 4; 5, 6], "sparse", "number")'],
      7   seealso: ['bignumber', 'boolean', 'complex', 'index', 'number', 'string', 'unit', 'sparse']
      8 };