simple-squiggle

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

lup.js (416B)


      1 export var lupDocs = {
      2   name: 'lup',
      3   category: 'Algebra',
      4   syntax: ['lup(m)'],
      5   description: 'Calculate the Matrix LU decomposition with partial pivoting. Matrix A is decomposed in three matrices (L, U, P) where P * A = L * U',
      6   examples: ['lup([[2, 1], [1, 4]])', 'lup(matrix([[2, 1], [1, 4]]))', 'lup(sparse([[2, 1], [1, 4]]))'],
      7   seealso: ['lusolve', 'lsolve', 'usolve', 'matrix', 'sparse', 'slu', 'qr']
      8 };