Chol Function

Cholesky decomposition


Description

The Function \(Chol\) results in the Cholesky decomposition of a symmetric positive definite matrix into a lower triangular matrix or its transpose.


Syntax

Chol (Matrix)

lower triangular matrix

Chol (Matrix, 1)

transposed lower triangular matrix

Example

 Cholesky decomposition