pangolin.interface.cholesky#
- pangolin.interface.cholesky(a)#
Compute the lower-triangular Cholesky factor of a square matrix.
The IR verifies that the input is a square matrix. Positive-definiteness depends on the matrix’s value and therefore remains a backend-level value constraint.
Examples
>>> import pangolin.interface as pi >>> pi.cholesky([[2, 0], [0, 3]]).shape (2, 2)