|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include <math_kernel_op.h>
Public Member Functions | |
| void | operator() (const char &trans, const int &m, const int &n, const T *alpha, const T *A, const int &lda, const T *X, const int &incx, const T *beta, T *Y, const int &incy) |
| y = alpha * op(A) * x + beta * y | |
| void ModuleBase::gemv_op< T, Device >::operator() | ( | const char & | trans, |
| const int & | m, | ||
| const int & | n, | ||
| const T * | alpha, | ||
| const T * | A, | ||
| const int & | lda, | ||
| const T * | X, | ||
| const int & | incx, | ||
| const T * | beta, | ||
| T * | Y, | ||
| const int & | incy | ||
| ) |
y = alpha * op(A) * x + beta * y
Input Parameters
| trans | : whether to transpose A |
| m | : first dimension of matrix |
| n | : second dimension of matrix |
| alpha | : input constant alpha |
| A | : input matrix A |
| lda | : leading dimention of A |
| X | : input array X |
| incx | : computing strip of X |
| beta | : input constant beta |
| Y | : input array Y |
| incy | : computing strip of Y |
Output Parameters
| Y | : output array Y |