# BLAS Level 1 Routines and Functions

BLAS Level 1 includes routines and functions, which perform vector-vector operations. Table “BLAS Level 1 Routine Groups and Their Data Types” lists the BLAS Level 1 routine and function groups and the data types associated with them.

BLAS Level 1 Routine and Function Groups and Their Data Types

Routine or Function Group

Data Types

Description

?asum

s, d, sc, dz

Sum of vector magnitudes (functions)

?axpy

s, d, c, z

Scalar-vector product (routines)

?copy

s, d, c, z

Copy vector (routines)

?dot

s, d

Dot product (functions)

?sdot

sd, d

Dot product with double precision (functions)

?dotc

c, z

Dot product conjugated (functions)

?dotu

c, z

Dot product unconjugated (functions)

?nrm2

s, d, sc, dz

Vector 2-norm (Euclidean norm) (functions)

?rot

s, d, cs, zd

Plane rotation of points (routines)

?rotg

s, d, c, z

Generate Givens rotation of points (routines)

?rotm

s, d

Modified Givens plane rotation of points (routines)

?rotmg

s, d

Generate modified Givens plane rotation of points (routines)

?scal

s, d, c, z, cs, zd

Vector-scalar product (routines)

?swap

s, d, c, z

Vector-vector swap (routines)

i?amax

s, d, c, z

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

i?amin

s, d, c, z

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

?cabs1

s, d

Auxiliary functions, compute the absolute value of a complex number of single or double precision

For more complete information about compiler optimizations, see our Optimization Notice.