BLAS++ 2024.05.31
BLAS C++ API
Loading...
Searching...
No Matches
Level 1: vectors operations, O(n) work

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\)
 

Detailed Description

Vector operations that perform \(O(n)\) work on \(O(n)\) data.


These are memory bound, since every operation requires a memory read or write.