DiagonalSolve

Note

This is not a standard BLAS routine, but it is BLAS-like.

Performs either \(X := \mbox{op}(D)^{-1} X\) or \(X := X \mbox{op}(D)^{-1}\), where \(D = \mbox{diag}(d)\) and \(d\) is a column vector.

C++ API

void DiagonalSolve(LeftOrRight side, Orientation orientation, const Matrix<F> &d, Matrix<F> &X, bool checkIfSingular = false)
void DiagonalSolve(LeftOrRight side, Orientation orientation, const AbstractDistMatrix<F> &d, AbstractDistMatrix<F> &X, bool checkIfSingular = false)

C API

ElError ElDiagonalSolve_s(ElLeftOrRight side, ElConstMatrix_s d, ElMatrix_s X)
ElError ElDiagonalSolve_d(ElLeftOrRight side, ElConstMatrix_d d, ElMatrix_d X)
ElError ElDiagonalSolve_c(ElLeftOrRight side, ElOrientation orientation, ElConstMatrix_c d, ElMatrix_c X)
ElError ElDiagonalSolve_z(ElLeftOrRight side, ElOrientation orientation, ElConstMatrix_z d, ElMatrix_z X)

Python API

DiagonalSolve(side, d, X)