UpdateSubmatrix

Adds a multiple of a matrix to a (possibly non-contiguous) submatrix of another matrix.

C++ API

void UpdateSubmatrix(Matrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, T alpha, const Matrix<T> &ASub)
void UpdateSubmatrix(AbstractDistMatrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, T alpha, const AbstractDistMatrix<T> &ASub)
void UpdateRealPartOfSubmatrix(Matrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, Base<T> alpha, const Matrix<Base<T>> &ASub)
void UpdateRealPartOfSubmatrix(AbstractDistMatrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, Base<T> alpha, const AbstractDistMatrix<Base<T>> &ASub)
void UpdateImagPartOfSubmatrix(Matrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, Base<T> alpha, const Matrix<Base<T>> &ASub)
void UpdateImagPartOfSubmatrix(AbstractDistMatrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, Base<T> alpha, const AbstractDistMatrix<Base<T>> &ASub)

C API

TODO

Python API

TODO