Gaussian elimination

Implementation

Solves \(AX=B\) for \(X\) given a general square nonsingular matrix \(A\) and right-hand side matrix \(B\). The solution is computed through (partially pivoted) Gaussian elimination.

C++ API

void GaussianElimination(Matrix<F> &A, Matrix<F> &B)
void GaussianElimination(AbstractDistMatrix<F> &A, AbstractDistMatrix<F> &B)

C API

ElError ElGaussianElimination_s(ElMatrix_s A, ElMatrix_s B)
ElError ElGaussianElimination_d(ElMatrix_d A, ElMatrix_d B)
ElError ElGaussianElimination_c(ElMatrix_c A, ElMatrix_c B)
ElError ElGaussianElimination_z(ElMatrix_z A, ElMatrix_z B)
ElError ElGaussianEliminationDist_s(ElDistMatrix_s A, ElDistMatrix_s B)
ElError ElGaussianEliminationDist_d(ElDistMatrix_d A, ElDistMatrix_d B)
ElError ElGaussianEliminationDist_c(ElDistMatrix_c A, ElDistMatrix_c B)
ElError ElGaussianEliminationDist_z(ElDistMatrix_z A, ElDistMatrix_z B)