BLAS Level 1 Routines and Functions

BLAS Level 1 includes routines and functions, which perform vector-vector operations. The following table lists the BLAS Level 1 routine and function groups and the data types associated with them.

Routine or Function Group

Data Types

Description

asum

float, double, mixed float and std::complex<float>, mixed double and std::complex<double>

Sum of vector magnitudes (functions)

axpy

float, double, std::complex<float>, std::complex<double>

Scalar-vector product (routines)

copy

float, double, std::complex<float>, std::complex<double>

Copy vector (routines)

dot

float, double, mixed float and double

Dot product (functions)

sdot

mixed float and double

Dot product with double precision (functions)

dotc

std::complex<float>, std::complex<double>

Dot product conjugated (functions)

dotu

std::complex<float>, std::complex<double>

Dot product unconjugated (functions)

nrm2

float, double, mixed float and std::complex<float>, mixed double and std::complex<double>

Vector 2-norm (Euclidean norm) (functions)

rot

float, double, mixed float and std::complex<float>, mixed double and std::complex<double>

Plane rotation of points (routines)

rotg

float, double, std::complex<float>, std::complex<double>

Generate Givens rotation of points (routines)

rotm

float, double

Modified Givens plane rotation of points (routines)

rotmg

float, double

Generate modified Givens plane rotation of points (routines)

scal

float, double, std::complex<float>, std::complex<double>, mixed float and std::complex<float>, mixed double and std::complex<double>

Vector-scalar product (routines)

swap

float, double, std::complex<float>, std::complex<double>

Vector-vector swap (routines)

iamax

float, double, std::complex<float>, std::complex<double>

Index of the maximum absolute value element of a vector (functions)

iamin

float, double, std::complex<float>, std::complex<double>

Index of the minimum absolute value element of a vector (functions)