mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
18 lines (17 loc) • 426 B
JavaScript
export const lusolveDocs = {
name: 'lusolve',
category: 'Algebra',
syntax: [
'x=lusolve(A, b)',
'x=lusolve(lu, b)'
],
description: 'Solves the linear system A * x = b where A is an [n x n] matrix and b is a [n] column vector.',
examples: [
'a = [-2, 3; 2, 1]',
'b = [11, 9]',
'x = lusolve(a, b)'
],
seealso: [
'lup', 'slu', 'lsolve', 'usolve', 'matrix', 'sparse'
]
}