|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <math_kernel_op.h>
Public Member Functions | |
| void | operator() (const int &N, const std::complex< FPTYPE > *alpha, std::complex< FPTYPE > *X, const int &incx) |
| x = alpha * x, where alpha and x are complex numbers | |
| void ModuleBase::scal_op< FPTYPE, Device >::operator() | ( | const int & | N, |
| const std::complex< FPTYPE > * | alpha, | ||
| std::complex< FPTYPE > * | X, | ||
| const int & | incx | ||
| ) |
x = alpha * x, where alpha and x are complex numbers
Input Parameters
| N | : array size |
| alpha | : input constant |
| X | : input array |
| incx | : computing strip of array X |
Output Parameters
| X | : output array |