Copy

Sets \(Y := X\).

C++ API

void Copy(const Matrix<S> &X, Matrix<T> &Y)
void Copy(const AbstractDistMatrix<S> &A, AbstractDistMatrix<T> &B)
void CopyFromRoot(const Matrix<T> &A, DistMatrix<T, CIRC, CIRC> &B, bool includingViewers = false)
void CopyFromNonRoot(DistMatrix<T, CIRC, CIRC> &B, bool includingViewers = false)
void Copy(const SparseMatrix<S> &A, SparseMatrix<T> &B)
void Copy(const SparseMatrix<S> &A, Matrix<T> &B)
void Copy(const DistSparseMatrix<S> &A, DistSparseMatrix<T> &B)
void Copy(const DistSparseMatrix<S> &A, AbstractDistMatrix<T> &B)
void Copy(const DistMultiVec<T> &A, DistMultiVec<T> &B)
void Copy(const DistMultiVec<T> &A, AbstractDistMatrix<T> &B)
void Copy(const AbstractDistMatrix<T> &A, DistMultiVec<T> &B)
void CopyFromRoot(const DistSparseMatrix<T> &ADist, SparseMatrix<T> &A)
void CopyFromNonRoot(const DistSparseMatrix<T> &ADist, int root = 0)
void CopyFromRoot(const DistMultiVec<T> &XDist, Matrix<T> &X)
void CopyFromNonRoot(const DistMultiVec<T> &XDist, int root = 0)
void Copy(const Graph &A, Graph &B)
void Copy(const Graph &A, DistGraph &B)
void Copy(const DistGraph &A, Graph &B)
void Copy(const DistGraph &A, DistGraph &B)
void CopyFromRoot(const DistGraph &distGraph, Graph &graph)
void CopyFromNonRoot(const DistGraph &distGraph, int root = 0)

copy namespace

TODO

C API

ElError ElCopy_i(ElConstMatrix_i X, ElMatrix_i Y)
ElError ElCopy_s(ElConstMatrix_s X, ElMatrix_s Y)
ElError ElCopy_d(ElConstMatrix_d X, ElMatrix_d Y)
ElError ElCopy_c(ElConstMatrix_c X, ElMatrix_c Y)
ElError ElCopy_z(ElConstMatrix_z X, ElMatrix_z Y)
ElError ElCopyDist_i(ElConstDistMatrix_i X, ElDistMatrix_i Y)
ElError ElCopyDist_s(ElConstDistMatrix_s X, ElDistMatrix_s Y)
ElError ElCopyDist_d(ElConstDistMatrix_d X, ElDistMatrix_d Y)
ElError ElCopyDist_c(ElConstDistMatrix_c X, ElDistMatrix_c Y)
ElError ElCopyDist_z(ElConstDistMatrix_z X, ElDistMatrix_z Y)
ElError ElCopySparse_i(ElConstSparseMatrix_i X, ElSparseMatrix_i Y)
ElError ElCopySparse_s(ElConstSparseMatrix_s X, ElSparseMatrix_s Y)
ElError ElCopySparse_d(ElConstSparseMatrix_d X, ElSparseMatrix_d Y)
ElError ElCopySparse_c(ElConstSparseMatrix_c X, ElSparseMatrix_c Y)
ElError ElCopySparse_z(ElConstSparseMatrix_z X, ElSparseMatrix_z Y)
ElError ElCopyDistSparse_i(ElConstDistSparseMatrix_i X, ElDistSparseMatrix_i Y)
ElError ElCopyDistSparse_s(ElConstDistSparseMatrix_s X, ElDistSparseMatrix_s Y)
ElError ElCopyDistSparse_d(ElConstDistSparseMatrix_d X, ElDistSparseMatrix_d Y)
ElError ElCopyDistSparse_c(ElConstDistSparseMatrix_c X, ElDistSparseMatrix_c Y)
ElError ElCopyDistSparse_z(ElConstDistSparseMatrix_z X, ElDistSparseMatrix_z Y)
ElError ElCopyDistMultiVec_i(ElConstDistMultiVec_i A, ElDistMultiVec_i B)
ElError ElCopyDistMultiVec_s(ElConstDistMultiVec_s A, ElDistMultiVec_s B)
ElError ElCopyDistMultiVec_d(ElConstDistMultiVec_d A, ElDistMultiVec_d B)
ElError ElCopyDistMultiVec_c(ElConstDistMultiVec_c A, ElDistMultiVec_c B)
ElError ElCopyDistMultiVec_z(ElConstDistMultiVec_z A, ElDistMultiVec_z B)
ElError ElCopySparseToDense_i(ElConstSparseMatrix_i A, ElMatrix_i B)
ElError ElCopySparseToDense_s(ElConstSparseMatrix_s A, ElMatrix_s B)
ElError ElCopySparseToDense_d(ElConstSparseMatrix_d A, ElMatrix_d B)
ElError ElCopySparseToDense_c(ElConstSparseMatrix_c A, ElMatrix_c B)
ElError ElCopySparseToDense_z(ElConstSparseMatrix_z A, ElMatrix_z B)
ElError ElCopyDistSparseToDense_i(ElConstDistSparseMatrix_i A, ElSparseMatrix_i B)
ElError ElCopyDistSparseToDense_s(ElConstDistSparseMatrix_s A, ElSparseMatrix_s B)
ElError ElCopyDistSparseToDense_d(ElConstDistSparseMatrix_d A, ElSparseMatrix_d B)
ElError ElCopyDistSparseToDense_c(ElConstDistSparseMatrix_c A, ElSparseMatrix_c B)
ElError ElCopyDistSparseToDense_z(ElConstDistSparseMatrix_z A, ElSparseMatrix_z B)
ElError ElCopySparseMatrixFromRoot_i(ElConstDistSparseMatrix_i ADist, ElSparseMatrix_i A)
ElError ElCopySparseMatrixFromRoot_s(ElConstDistSparseMatrix_s ADist, ElSparseMatrix_s A)
ElError ElCopySparseMatrixFromRoot_d(ElConstDistSparseMatrix_d ADist, ElSparseMatrix_d A)
ElError ElCopySparseMatrixFromRoot_c(ElConstDistSparseMatrix_c ADist, ElSparseMatrix_c A)
ElError ElCopySparseMatrixFromRoot_z(ElConstDistSparseMatrix_z ADist, ElSparseMatrix_z A)
ElError ElCopySparseMatrixFromNonRoot_i(ElConstDistSparseMatrix_i ADist, int root)
ElError ElCopySparseMatrixFromNonRoot_s(ElConstDistSparseMatrix_s ADist, int root)
ElError ElCopySparseMatrixFromNonRoot_d(ElConstDistSparseMatrix_d ADist, int root)
ElError ElCopySparseMatrixFromNonRoot_c(ElConstDistSparseMatrix_c ADist, int root)
ElError ElCopySparseMatrixFromNonRoot_z(ElConstDistSparseMatrix_z ADist, int root)
ElError ElCopyMultiVecFromRoot_i(ElConstDistMultiVec_i XDist, ElMatrix_i X)
ElError ElCopyMultiVecFromRoot_s(ElConstDistMultiVec_s XDist, ElMatrix_s X)
ElError ElCopyMultiVecFromRoot_d(ElConstDistMultiVec_d XDist, ElMatrix_d X)
ElError ElCopyMultiVecFromRoot_c(ElConstDistMultiVec_c XDist, ElMatrix_c X)
ElError ElCopyMultiVecFromRoot_z(ElConstDistMultiVec_z XDist, ElMatrix_z X)
ElError ElCopyMultiVecFromNonRoot_i(ElConstDistMultiVec_i XDist, int root)
ElError ElCopyMultiVecFromNonRoot_s(ElConstDistMultiVec_s XDist, int root)
ElError ElCopyMultiVecFromNonRoot_d(ElConstDistMultiVec_d XDist, int root)
ElError ElCopyMultiVecFromNonRoot_c(ElConstDistMultiVec_c XDist, int root)
ElError ElCopyMultiVecFromNonRoot_z(ElConstDistMultiVec_z XDist, int root)
ElError ElCopyGraph(ElConstGraph A, ElGraph B)
ElError ElCopyDistGraph(ElConstDistGraph A, ElDistGraph B)
ElError ElCopyGraphFromRoot(ElConstDistGraph distGraph, ElGraph graph)
ElError ElCopyGraphFromNonRoot(ElConstDistGraph distGraph, int root)

Python API

Copy(X, Y)
CopyFromRoot(ADist, ASeq)
CopyFromNonRoot(ADist, root=0)