BLAS Level 1 Routines

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

Routine Group

Data Types

Description

asum

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

Sum of vector magnitudes

axpy

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

Scalar-vector product

copy

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

Copy vector

dot

float, double, mixed float and double

Dot product

sdsdot

mixed float and double

Dot product with double precision

dotc

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

Dot product conjugated

dotu

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

Dot product unconjugated

nrm2

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

Vector 2-norm (Euclidean norm)

rot

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

Plane rotation of points

rotg

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

Generate Givens rotation of points

rotm

float, double

Modified Givens plane rotation of points

rotmg

float, double

Generate modified Givens plane rotation of points

scal

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

Vector-scalar product

swap

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

Vector-vector swap

iamax

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

Index of the maximum absolute value element of a vector

iamin

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

Index of the minimum absolute value element of a vector