simple-squiggle

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

usolve.js (549B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.usolveDocs = void 0;
      7 var usolveDocs = {
      8   name: 'usolve',
      9   category: 'Algebra',
     10   syntax: ['x=usolve(U, b)'],
     11   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.',
     12   examples: ['x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])'],
     13   seealso: ['usolveAll', 'lup', 'lusolve', 'lsolve', 'matrix', 'sparse']
     14 };
     15 exports.usolveDocs = usolveDocs;