jax.scipy.linalg.lu_solve

Contents

jax.scipy.linalg.lu_solve#

jax.scipy.linalg.lu_solve(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True)[source]#

Solve an equation system, a x = b, given the LU factorization of a

LAX-backend implementation of scipy.linalg._decomp_lu.lu_solve().

Does not support the Scipy argument check_finite=True, because compiled JAX code cannot perform checks of array values at runtime.

Does not support the Scipy argument overwrite_*=True.

Original docstring below.

Parameters:
Returns:

x – Solution to the system

Return type:

array