2015-05-07 23:43:28 -04:00

16 lines
419 B
JavaScript

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'
]
};