mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
16 lines
418 B
JavaScript
16 lines
418 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'
|
|
]
|
|
};
|