cholcov
R2026bCholesky factorization
Description
computes
the Cholesky factor T = cholcov(X)T of the matrix X such that
X = T'*T. The input matrix X must be symmetric
positive definite or symmetric positive semi-definite. Otherwise, T is
empty. For more information, see Symmetric Positive Definite Matrix.
If your input matrix X is positive definite, you can also use the
chol function to compute its Cholesky
factor.
[
specifies whether to compute T,num] = cholcov(X,AllowPosSemiDef)T when X is positive
semi-definite. The function returns T as empty and
num as an arbitrary positive integer when
AllowPosSemiDef is false and X
is positive semi-definite.
