函数 schur #
对实数矩阵 A = UTU' 执行实数 Schur 分解,其中 U 是正交的,T 是上拟三角矩阵。 https://en.wikipedia.org/wiki/Schur_decomposition
Syntax #
math.schur(A)
Parameters #
| Parameter | Type | Description |
|---|---|---|
A |
Array | Matrix | 矩阵 A |
Returns #
| Type | Description |
|---|---|
| {U: Array | Matrix, T: Array | Matrix} | 包含 Schur 分解 A=UTU' 的矩阵 U 和 T 的对象 |
Throws #
Type | Description —- | ———–
Examples #
const A = [[1, 0], [-4, 3]]
math.schur(A) // returns {T: [[3, 4], [0, 1]], R: [[0, 1], [-1, 0]]}