Open GeoffNN opened 2 years ago
I'm looking at https://github.com/google/jaxopt/blob/ddd6c30953f6c02d8022c1358aa67d9114aed3a6/jaxopt/_src/linear_solve.py#L93
In most cases, when solving a linear system, we're interested in using the pseudo inverse. Should the call be to jnp.linalg.pinv instead of inv ?
jnp.linalg.pinv
inv
I think we can keep solve_inv and create a new solve_pinv in addition.
solve_inv
solve_pinv
I'm looking at https://github.com/google/jaxopt/blob/ddd6c30953f6c02d8022c1358aa67d9114aed3a6/jaxopt/_src/linear_solve.py#L93
In most cases, when solving a linear system, we're interested in using the pseudo inverse. Should the call be to
jnp.linalg.pinv
instead ofinv
?