chol

function chol(S:RealMatrixLike) -> RealMatrixLike

Cholesky factorization of a symmetric positive definite matrix.

  • S Symmetric positive definite matrix SS.

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