tril_to_positive_tril¶

probnum.utils.linalg.tril_to_positive_tril(tril_mat)[source]

Orthogonally transform a lower-triangular matrix into a lower-triangular matrix with positive diagonal.

In other words, make it a valid lower Cholesky factor.

The name of the function is based on np.tril.

Return type

ndarray