DiagonalScale¶
Performs either \(X := \mbox{op}(D) X\) or \(X := X \mbox{op}(D)\), where \(op(D)\) equals \(D=D^T\), or \(D^H=\bar D\), where \(D = \mbox{diag}(d)\) and \(d\) is a column vector.
C++ API¶
-
void
DiagonalScale
(LeftOrRight side, Orientation orientation, const Matrix<TDiag> &d, Matrix<T> &X)¶
-
void
DiagonalScale
(LeftOrRight side, Orientation orientation, const AbstractDistMatrix<TDiag> &d, AbstractDistMatrix<T> &X)¶
-
void
DiagonalScale
(LeftOrRight side, Orientation orientation, const Matrix<TDiag> &d, SparseMatrix<T> &X)¶
-
void
DiagonalScale
(LeftOrRight side, Orientation orientation, const DistMultiVec<TDiag> &d, DistSparseMatrix<T> &X)¶
-
void
DiagonalScale
(Orientation orientation, const DistMultiVec<TDiag> &d, DistMultiVec<T> &X)¶
C API¶
-
ElError
ElDiagonalScale_i
(ElLeftOrRight side, ElConstMatrix_i d, ElMatrix_i X)¶
-
ElError
ElDiagonalScale_s
(ElLeftOrRight side, ElConstMatrix_s d, ElMatrix_s X)¶
-
ElError
ElDiagonalScale_d
(ElLeftOrRight side, ElConstMatrix_d d, ElMatrix_d X)¶
-
ElError
ElDiagonalScale_c
(ElLeftOrRight side, ElOrientation orientation, ElConstMatrix_c d, ElMatrix_c X)¶
-
ElError
ElDiagonalScale_z
(ElLeftOrRight side, ElOrientation orientation, ElConstMatrix_z d, ElMatrix_z X)¶
-
ElError
ElDiagonalScaleDist_i
(ElLeftOrRight side, ElConstDistMatrix_i d, ElDistMatrix_i X)¶
-
ElError
ElDiagonalScaleDist_s
(ElLeftOrRight side, ElConstDistMatrix_s d, ElDistMatrix_s X)¶
-
ElError
ElDiagonalScaleDist_d
(ElLeftOrRight side, ElConstDistMatrix_d d, ElDistMatrix_d X)¶
-
ElError
ElDiagonalScaleDist_c
(ElLeftOrRight side, ElOrientation orientation, ElConstDistMatrix_c d, ElDistMatrix_c X)¶
-
ElError
ElDiagonalScaleDist_z
(ElLeftOrRight side, ElOrientation orientation, ElConstDistMatrix_z d, ElDistMatrix_z X)¶
-
ElError
ElDiagonalScaleSparse_i
(ElLeftOrRight side, ElConstMatrix_i d, ElSparseMatrix_i X)¶
-
ElError
ElDiagonalScaleSparse_s
(ElLeftOrRight side, ElConstMatrix_s d, ElSparseMatrix_s X)¶
-
ElError
ElDiagonalScaleSparse_d
(ElLeftOrRight side, ElConstMatrix_d d, ElSparseMatrix_d X)¶
-
ElError
ElDiagonalScaleSparse_c
(ElLeftOrRight side, ElOrientation orientation, ElConstMatrix_c d, ElSparseMatrix_c X)¶
-
ElError
ElDiagonalScaleSparse_z
(ElLeftOrRight side, ElOrientation orientation, ElConstMatrix_z d, ElSparseMatrix_z X)¶
-
ElError
ElDiagonalScaleDistSparse_i
(ElLeftOrRight side, ElConstDistMultiVec_i d, ElDistSparseMatrix_i X)¶
-
ElError
ElDiagonalScaleDistSparse_s
(ElLeftOrRight side, ElConstDistMultiVec_s d, ElDistSparseMatrix_s X)¶
-
ElError
ElDiagonalScaleDistSparse_d
(ElLeftOrRight side, ElConstDistMultiVec_d d, ElDistSparseMatrix_d X)¶
-
ElError
ElDiagonalScaleDistSparse_c
(ElLeftOrRight side, ElOrientation orientation, ElConstDistMultiVec_c d, ElDistSparseMatrix_c X)¶
-
ElError
ElDiagonalScaleDistSparse_z
(ElLeftOrRight side, ElOrientation orientation, ElConstDistMultiVec_z d, ElDistSparseMatrix_z X)¶