Qurak

Linear algebra matrix types complex matrices

教程 2 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。

第 1 步
mat = {{11., 3.}, {3., 5.}};
matG = CholeskyDecomposition[mat];
Transpose[matG].matG//MatrixForm
输出
MatrixForm[{{11., 3.}, {3., 4.999999999999999}}]
第 2 步
mat = {{11., 3. + 2.I}, {3. - 2.I, 5.}};
matG = CholeskyDecomposition[mat];
Conjugate[Transpose[matG]].matG//MatrixForm
输出
MatrixForm[{{11., 3. + 2.*I}, {3. - 2.*I, 1.1818181818181819 + 0.*I + Sqrt[3.8181818181818183 + 0.*I]*Conjugate[Sqrt[3.8181818181818183 + 0.*I]]}}]

用到的函数

相关操作示例

全部操作示例 · 函数参考 · 从 MCP 客户端使用