SetSubmatrix

Sets a (possibly non-contiguous) submatrix to a given matrix. another matrix.

C++ API

void SetSubmatrix(Matrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, const Matrix<T> &ASub)
void SetSubmatrix(AbstractDistMatrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, const AbstractDistMatrix<T> &ASub)
void SetRealPartOfSubmatrix(Matrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, const Matrix<Base<T>> &ASub)
void SetRealPartOfSubmatrix(AbstractDistMatrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, const AbstractDistMatrix<Base<T>> &ASub)
void SetImagPartOfSubmatrix(Matrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, const Matrix<Base<T>> &ASub)
void SetImagPartOfSubmatrix(AbstractDistMatrix<T> &A, const std::vector<Int> &I, const std::vector<Int> &J, const AbstractDistMatrix<Base<T>> &ASub)

C API

TODO

Python API

TODO