UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

16 lines (15 loc) 419 B
module.exports = { 'name': 'usolve', 'category': 'Algebra', 'syntax': [ 'x=usolve(U, b)' ], 'description': 'Solves the linear system U * x = b where U is an [n x n] upper triangular matrix and b is a [n] column vector.', 'examples': [ 'x=usolve(sparse([1, 1, 1, 1; 0, 1, 1, 1; 0, 0, 1, 1; 0, 0, 0, 1]), [1; 2; 3; 4])', ], 'seealso': [ 'lup', 'lusolve', 'lsolve', 'matrix', 'sparse' ] };