simple-squiggle

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

slu.js (594B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.sluDocs = void 0;
      7 var sluDocs = {
      8   name: 'slu',
      9   category: 'Algebra',
     10   syntax: ['slu(A, order, threshold)'],
     11   description: 'Calculate the Matrix LU decomposition with full pivoting. Matrix A is decomposed in two matrices (L, U) and two permutation vectors (pinv, q) where P * A * Q = L * U',
     12   examples: ['slu(sparse([4.5, 0, 3.2, 0; 3.1, 2.9, 0, 0.9; 0, 1.7, 3, 0; 3.5, 0.4, 0, 1]), 1, 0.001)'],
     13   seealso: ['lusolve', 'lsolve', 'usolve', 'matrix', 'sparse', 'lup', 'qr']
     14 };
     15 exports.sluDocs = sluDocs;