Documentation
Stabilize matrix inversion by adding a tiny epsilon to the diagonal. Fully stable and smoothly differentiable in JAX. Supports unbatched (2D) and batched (N-D) square matrices.
mat (Array)
eps (float)
Array