torch_numopt.utils.stability#
Functions
|
Check condition number and apply fix_stability if ill-conditioned. |
|
Procedure to adjust a matrix by adding a very small value to the diagonal to avoid numerical instability problems. |
|
Procedure to calculate the pseudoinverse of a matrix by using truncated SVD in order to maintain numerical stability. |