ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ModuleBase::scal_op< FPTYPE, Device > Struct Template Reference

#include <math_kernel_op.h>

Collaboration diagram for ModuleBase::scal_op< FPTYPE, Device >:

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
 

Member Function Documentation

◆ operator()()

template<typename FPTYPE , typename Device >
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

Parameters
N: array size
alpha: input constant
X: input array
incx: computing strip of array X

Output Parameters

Parameters
X: output array

The documentation for this struct was generated from the following file: