Content

CXXBLAS: C++ BLAS Interface

CXXBLAS is a low-level C++ BLAS interface. It is similar to CBLAS but uses overloaded functions.

Level 1 BLAS

CXXBLAS

DESCRIPTION

asum

Takes the sum of the absolute values, i.e. computes \(\sum\limits_{i} |x_i|\).

axpy

Constant times a vector plus a vector, i.e. computes \(y \leftarrow \alpha x + y\).

copy

Copies a vector \(x\) to a vector \(y\) or a matrix \(A\) to a matrix \(B\).

dot, dotu

Forms the dot product of two vectors, i.e. computes \(\sum\limits_{i} \bar{x}_i y_i\) or \(\sum\limits_{i} x_i y_i\).

nrm2

Computes the euclidean norm of a vector, i.e. \(\sqrt{\sum\limits_{i} |x_i|^2}\).

rot

Applies a plane rotation.

rotm

Applies a modified Givens rotation.

scal

Scales a vector by a constant, i.e. computes \(x \leftarrow \alpha x\).

swap

Interchanges two vectors.