GetDiagonal¶
Return a diagonal of a matrix as a vector.
C++ API¶
-
void
GetRealPartOfDiagonal
(const DistMatrix<T, U, V> &A, AbstractDistMatrix<Base<T>> &d, Int offset = 0)¶
-
void
GetImagPartOfDiagonal
(const DistMatrix<T, U, V> &A, AbstractDistMatrix<Base<T>> &d, Int offset = 0)¶
-
DistMatrix<T, DiagCol<U, V>(), DiagRow<U, V>()>
GetDiagonal
(const DistMatrix<T, U, V> &A, Int offset = 0)¶
C API¶
TODO
Python API¶
TODO