# Routines for Solving Systems of Linear Equations

This section describes the ScaLAPACK routines for solving systems of linear equations. Before calling most of these routines, you need to factorize the matrix of your system of equations (see Routines for Matrix Factorization in this chapter). However, the factorization is not necessary if your system of equations has a triangular matrix.

- p?getrs
  Solves a system of distributed linear equations with a general square matrix, using the LU factorization computed by p?getrf.
- p?gbtrs
  Solves a system of distributed linear equations with a general band matrix, using the LU factorization computed by p?gbtrf.
- p?potrs
  Solves a system of linear equations with a Cholesky-factored symmetric/Hermitian distributed positive-definite matrix.
- p?pbtrs
  Solves a system of linear equations with a Cholesky-factored symmetric/Hermitian positive-definite band matrix.
- p?pttrs
  Solves a system of linear equations with a symmetric (Hermitian) positive-definite tridiagonal distributed matrix using the factorization computed by p?pttrf.
- p?dttrs
  Solves a system of linear equations with a diagonally dominant-like tridiagonal distributed matrix using the factorization computed by p?dttrf.
- p?dbtrs
  Solves a system of linear equations with a diagonally dominant-like banded distributed matrix using the factorization computed by p?dbtrf.
- p?trtrs
  Solves a system of linear equations with a triangular distributed matrix.

Parent topic: Computational Routines