jaxopt.linear_solve.solve_lu
- jaxopt.linear_solve.solve_lu(matvec, b)[source]
Solves
A x = b
usingjax.lax.solve
.This solver is based on an LU decomposition. It will materialize the matrix
A
in memory.- Parameters
matvec (
Callable
) – product betweenA
and a vector.b (
Array
) – array.
- Return type
Array
- Returns
array with same structure as
b
.