Copy

Sets \(Y := X\).

C++ API

void Copy(const Matrix<S> &X, Matrix<T> &Y)
void Copy(const AbstractDistMatrix<S> &A, AbstractDistMatrix<T> &B)

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)

Python API

Copy(X, Y)