chol
Cholesky 分解
语法
说明
[
使用上述语法中的任何输入参数组合,指定是以矩阵还是向量形式返回置换信息 R
,flag
,P
] = chol(___,outputForm
)P
。此选项仅可用于稀疏矩阵输入。例如,如果 outputForm
是 'vector'
且 flag = 0
,则 S(p,p) = R'*R
。outputForm
的默认值是 'matrix'
,满足 R'*R = P'*S*P
。
示例
输入参数
输出参数
详细信息
提示
使用
chol
(而不是eig
)可有效地判断矩阵是否为对称正定矩阵。有关详细信息,请参阅 判断矩阵是否为对称正定矩阵。
参考
[1] Anderson, E., ed. LAPACK Users’ Guide. 3rd ed. Software, Environments, Tools. Philadelphia: Society for Industrial and Applied Mathematics, 1999. https://doi.org/10.1137/1.9780898719604.
[2] Chen, Yanqing, Timothy A. Davis, William W. Hager, and Sivasankaran Rajamanickam. “Algorithm 887: CHOLMOD, Supernodal Sparse Cholesky Factorization and Update/Downdate.” ACM Transactions on Mathematical Software 35, no. 3 (October 2008): 1–14. https://doi.org/10.1145/1391989.1391995.
扩展功能
版本历史记录
在 R2006a 之前推出