simple-squiggle

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

lup.js (542B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.lupDocs = void 0;
      7 var lupDocs = {
      8   name: 'lup',
      9   category: 'Algebra',
     10   syntax: ['lup(m)'],
     11   description: 'Calculate the Matrix LU decomposition with partial pivoting. Matrix A is decomposed in three matrices (L, U, P) where P * A = L * U',
     12   examples: ['lup([[2, 1], [1, 4]])', 'lup(matrix([[2, 1], [1, 4]]))', 'lup(sparse([[2, 1], [1, 4]]))'],
     13   seealso: ['lusolve', 'lsolve', 'usolve', 'matrix', 'sparse', 'slu', 'qr']
     14 };
     15 exports.lupDocs = lupDocs;