mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
16 lines
419 B
JavaScript
16 lines
419 B
JavaScript
module.exports = {
|
|
'name': 'lsolve',
|
|
'category': 'Algebra',
|
|
'syntax': [
|
|
'x=lsolve(L, b)'
|
|
],
|
|
'description':
|
|
'Solves the linear system L * x = b where L is an [n x n] lower triangular matrix and b is a [n] column vector.',
|
|
'examples': [
|
|
'x=lsolve(sparse([1, 0, 0, 0; 1, 1, 0, 0; 1, 1, 1, 0; 1, 1, 1, 1]), [1; 2; 3; 4])',
|
|
],
|
|
'seealso': [
|
|
'lup', 'lusolve', 'usolve', 'matrix', 'sparse'
|
|
]
|
|
};
|