### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Linear algebra (`scipy.linalg`) »

# scipy.linalg.lu_solve

`scipy.linalg.``lu_solve`(lu_and_piv, b, trans=0, overwrite_b=False, check_finite=True)

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

  > Parameters : | (lu, piv) : Factorization of the coefficient matrix a, as given by lu_factor b : array Right-hand side trans : {0, 1, 2} Type of system to solve:
  > trans | system
  > --- | ---
  > 0 | a x = b
  > 1 | a^T x = b
  > 2 | a^H x = b
  check_finite : boolean, optional Whether to check the input matrixes contain only finite numbers. Disabling may give a performance gain, but may result to problems (crashes, non-termination) if the inputs do contain infinities or NaNs.
  Returns : | x : array Solution to the system

  See also

  `lu_factor`
    LU factorize a matrix

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- SciPy v0.12 Reference Guide (DRAFT) »
- Linear algebra (`scipy.linalg`) »