|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <math_kernel_op.h>
Public Member Functions | |
| void | operator() (const int &N, const T *alpha, const T *X, const int &incX, T *Y, const int &incY) |
| Y = alpha * X + Y. | |
| void ModuleBase::axpy_op< T, Device >::operator() | ( | const int & | N, |
| const T * | alpha, | ||
| const T * | X, | ||
| const int & | incX, | ||
| T * | Y, | ||
| const int & | incY | ||
| ) |
Y = alpha * X + Y.
Input Parameters
| N | : array size |
| alpha | : input constant alpha |
| X | : input array X |
| incX | : computing strip of X |
| Y | : computing strip of Y |
| incY | : computing strip of Y |
Output Parameters
| Y | : output array Y |