UpdateDiagonal¶
Adds a multiple of a given vector to a diagonal of a matrix.
C++ API¶
-
void
UpdateDiagonal
(DistMatrix<T, U, V> &A, T alpha, const AbstractDistMatrix<T> &d, Int offset = 0)¶
-
void
UpdateRealPartOfDiagonal
(Matrix<T> &A, Base<T> alpha, const Matrix<Base<T>> &d, Int offset = 0)¶
-
void
UpdateRealPartOfDiagonal
(DistMatrix<T, U, V> &A, Base<T> alpha, const AbstractDistMatrix<Base<T>> &d, Int offset = 0)¶
C API¶
TODO
Python API¶
TODO