GetSubmatrix¶
Gets a (possibly non-contiguous) submatrix of a given matrix.
C++ API¶
Contiguous¶
-
void
GetSubmatrix(const AbstractDistMatrix<T> &A, const Range<Int> &I, const Range<Int> &J, AbstractDistMatrix<T> &ASub)¶
-
AbstractDistMatrix<T>
GetSubmatrix(const AbstractDistMatrix<T> &A, const Range<Int> &I, const Range<Int> &J)¶
-
void
GetSubmatrix(const SparseMatrix<T> &A, const Range<Int> &I, const Range<Int> &J, SparseMatrix<T> &ASub)¶
-
SparseMatrix<T>
GetSubmatrix(const SparseMatrix<T> &A, const Range<Int> &I, const Range<Int> &J)¶
-
void
GetSubmatrix(const DistSparseMatrix<T> &A, const Range<Int> &I, const Range<Int> &J, DistSparseMatrix<T> &ASub)¶
-
DistSparseMatrix<T>
GetSubmatrix(const DistSparseMatrix<T> &A, const Range<Int> &I, const Range<Int> &J)¶
-
void
GetSubmatrix(const DistMultiVec<T> &A, const Range<Int> &I, const Range<Int> &J, DistMultiVec<T> &ASub)¶
-
DistMultiVec<T>
GetSubmatrix(const DistMultiVec<T> &A, const Range<Int> &I, const Range<Int> &J)¶
C API¶
Contiguous¶
Integer¶
-
ElError
ElGetContigSubmatrixDist_i(ElConstDistMatrix_i A, ElIndexRange I, ElIndexRange J, ElDistMatrix_i ASub)¶
-
ElError
ElGetContigSubmatrixSparse_i(ElConstSparseMatrix_i A, ElIndexRange I, ElIndexRange J, ElSparseMatrix_i ASub)¶
Single-precision¶
-
ElError
ElGetContigSubmatrixDist_s(ElConstDistMatrix_s A, ElIndexRange I, ElIndexRange J, ElDistMatrix_s ASub)¶
-
ElError
ElGetContigSubmatrixSparse_s(ElConstSparseMatrix_s A, ElIndexRange I, ElIndexRange J, ElSparseMatrix_s ASub)¶
Double-precision¶
-
ElError
ElGetContigSubmatrixDist_d(ElConstDistMatrix_d A, ElIndexRange I, ElIndexRange J, ElDistMatrix_d ASub)¶
-
ElError
ElGetContigSubmatrixSparse_d(ElConstSparseMatrix_d A, ElIndexRange I, ElIndexRange J, ElSparseMatrix_d ASub)¶
Single-precision complex¶
-
ElError
ElGetContigSubmatrixDist_c(ElConstDistMatrix_c A, ElIndexRange I, ElIndexRange J, ElDistMatrix_c ASub)¶
-
ElError
ElGetContigSubmatrixSparse_c(ElConstSparseMatrix_c A, ElIndexRange I, ElIndexRange J, ElSparseMatrix_c ASub)¶
Double-precision complex¶
-
ElError
ElGetContigSubmatrixDist_z(ElConstDistMatrix_z A, ElIndexRange I, ElIndexRange J, ElDistMatrix_z ASub)¶
-
ElError
ElGetContigSubmatrixSparse_z(ElConstSparseMatrix_z A, ElIndexRange I, ElIndexRange J, ElSparseMatrix_z ASub)¶
Noncontiguous¶
TODO