Axpy¶
Update a matrix \(Y\) with \(\alpha X\), i.e.,
\[Y := \alpha X + Y,\]
which is the reason for the name axpy: “alpha X plus Y”.
C++ API¶
-
void
Axpy
(S alpha, const Matrix<T> &X, Matrix<T> &Y)¶
-
void
Axpy
(S alpha, const AbstractDistMatrix<T> &X, AbstractDistMatrix<T> &Y)¶
-
void
Axpy
(S alpha, const SparseMatrix<T> &X, SparseMatrix<T> &Y)¶
-
void
Axpy
(S alpha, const DistSparseMatrix<T> &X, DistSparseMatrix<T> &Y)¶
-
void
Axpy
(T alpha, const DistMultiVec<T> &X, DistMultiVec<T> &Y)¶
C API¶
-
ElError
ElAxpy_c
(complex_float alpha, ElConstMatrix_c X, ElMatrix_c Y)¶
-
ElError
ElAxpy_z
(complex_double alpha, ElConstMatrix_z X, ElMatrix_z Y)¶
-
ElError
ElAxpyDist_c
(complex_float alpha, ElConstMatrix_c X, ElMatrix_c Y)¶
-
ElError
ElAxpyDist_z
(complex_double alpha, ElConstMatrix_z X, ElMatrix_z Y)¶
-
ElError
ElAxpySparse_c
(complex_float alpha, ElConstMatrix_c X, ElMatrix_c Y)¶
-
ElError
ElAxpySparse_z
(complex_double alpha, ElConstMatrix_z X, ElMatrix_z Y)¶
-
ElError
ElAxpyDistSparse_c
(complex_float alpha, ElConstMatrix_c X, ElMatrix_c Y)¶
-
ElError
ElAxpyDistSparse_z
(complex_double alpha, ElConstMatrix_z X, ElMatrix_z Y)¶
-
ElError
ElAxpyDistMultiVec_c
(complex_float alpha, ElConstMatrix_c X, ElMatrix_c Y)¶
-
ElError
ElAxpyDistMultiVec_z
(complex_double alpha, ElConstMatrix_z X, ElMatrix_z Y)¶