教程 2 步,在同一个会话中按顺序运行。每一步都在引擎上执行过,下面的输出就是它实际产生的。
mat = {{11., 3.}, {3., 5.}};
matG = CholeskyDecomposition[mat];
Transpose[matG].matG//MatrixFormMatrixForm[{{11., 3.}, {3., 4.999999999999999}}]mat = {{11., 3. + 2.I}, {3. - 2.I, 5.}};
matG = CholeskyDecomposition[mat];
Conjugate[Transpose[matG]].matG//MatrixFormMatrixForm[{{11., 3. + 2.*I}, {3. - 2.*I, 1.1818181818181819 + 0.*I + Sqrt[3.8181818181818183 + 0.*I]*Conjugate[Sqrt[3.8181818181818183 + 0.*I]]}}]全部操作示例 · 函数参考 · 从 MCP 客户端使用