chol


function chol(S:RealMatrixLike) -> RealMatrixLike

Cholesky factorization of a symmetric positive definite matrix.

  • S Symmetric positive definite matrix S.

Returns Lower-triangular Cholesky factor L such that S = LL^\top. If the factorization fails, then L is filled with NaN.