simple-squiggle

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

usolve.js (414B)


      1 export var usolveDocs = {
      2   name: 'usolve',
      3   category: 'Algebra',
      4   syntax: ['x=usolve(U, b)'],
      5   description: 'Finds one solution of the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.',
      6   examples: ['x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])'],
      7   seealso: ['usolveAll', 'lup', 'lusolve', 'lsolve', 'matrix', 'sparse']
      8 };