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
16 lines (15 loc) • 418 B
JavaScript
export const qrDocs = {
name: 'qr',
category: 'Algebra',
syntax: [
'qr(A)'
],
description:
'Calculates the Matrix QR decomposition. Matrix `A` is decomposed in two matrices (`Q`, `R`) where `Q` is an orthogonal matrix and `R` is an upper triangular matrix.',
examples: [
'qr([[1, -1, 4], [1, 4, -2], [1, 4, 2], [1, -1, 0]])'
],
seealso: [
'lup', 'slu', 'matrix'
]
}