BLAS++ 2024.05.31
BLAS C++ API
|
Vector operations that perform \(O(n)\) work on \(O(n)\) data. More...
Modules | |
asum: Vector 1 norm (sum) | |
\(\sum_i |Re(x_i)| + |Im(x_i)|\) | |
axpy: Add vectors | |
\(y = \alpha x + y\) | |
copy: Copy vector | |
\(y = x\) | |
dot: Dot (inner) product | |
\(x^H y\) | |
dotu: Dot (inner) product, unconjugated | |
\(x^T y\) | |
iamax: Find max element | |
\(\text{argmax}_i\; |x_i|\) | |
nrm2: Vector 2 norm | |
\(||x||_2\) | |
rot: Apply Givens plane rotation | |
rotg: Generate Givens plane rotation | |
rotm: Apply modified (fast) Givens plane rotation | |
rotmg: Generate modified (fast) Givens plane rotation | |
scal: Scale vector | |
\(x = \alpha x\) | |
swap: Swap vectors | |
\(x \leftrightarrow y\) | |
Vector operations that perform \(O(n)\) work on \(O(n)\) data.
These are memory bound, since every operation requires a memory read or write.