BLAS Level 1 Routines
?asum computes the sum of magnitudes of all vector elements or,
for a complex vector
?axpy
computes a vector-scalar product and adds the result to a vector.
?copy
copies a vector to another vector.
?dot
computes a vector-vector dot product.
?sdot
computes a vector-vector dot product with extended precision.
?dotc
computes a dot product of a conjugated vector with another vector.
?dotu
computes a vector-vector dot product
without complex conjugation.
?nrm2
computes the Euclidean norm of a vector.
?rot
performs rotation of points in the plane.
?rotg
computes parameters for a Givens rotation.
?rotm
performs rotation of points in the modified plane.
Depending on
?rotmg
computes the modified parameters for a Givens rotation.
?scal
computes a vector by a scalar product.
?swap
swaps a vector with another vector.
i?amax
finds the element of a vector that has the largest absolute value.
i?amin
finds the element of a vector that has the smallest absolute value.
x, the sum
res = |Rex1|
+ |Imx1|
+ |Rex2|
+ |Imx2| + ... + |Rexn|
+ |Imxn|, where x is a vector of order n.
res = sasum (n, x, incx)
res = scasum (n, x, incx)
res = dasum (n, x, incx)
res = dzasum (n, x, incx)
call saxpy (n, a, x, incx, y, incy)
call daxpy (n, a, x, incx, y, incy)
call caxpy (n, a, x, incx, y, incy)
call zaxpy (n, a, x, incx, y, incy)
call scopy (n, x, incx, y, incy)
call dcopy (n, x, incx, y, incy)
call ccopy (n, x, incx, y, incy)
call zcopy (n, x, incx, y, incy)
res = sdot (n, x, incx, y, incy)
res = ddot (n, x, incx, y, incy)
res = sdsdot (n, sb, sx, incx, sy, incy)
res = dsdot (n, sx, incx, sy, incy)
res = cdotc (n, x, incx, y, incy)
res = zdotc (n, x, incx, y, incy)
res = cdotu (n, x, incx, y, incy)
res = zdotu (n, x, incx, y, incy)
res = snrm2 (n, x, incx)
res = dnrm2 (n, x, incx)
res = scnrm2 (n, x, incx)
res = dznrm2 (n, x, incx)
call srot (n, x, incx, y, incy, c, s)
call drot (n, x, incx, y, incy, c, s)
call csrot (n, x, incx, y, incy, c, s)
call zdrot (n, x, incx, y, incy, c, s)
call srotg (a, b, c, s)
call drotg (a, b, c, s)
call crotg (a, b, c, s)
call zrotg (a, b, c, s)
call srotm (n, x, incx, y, incy, param)
call drotm (n, x, incx, y, incy, param)
?PARAM(1),
the routine uses the following values for hij:
?PARAM(1)h11
h21
h12
h22
-1.0
?PARAM(2)?PARAM(3)?PARAM(4)?PARAM(5)
0.0
1.0
?PARAM(3)?PARAM(4)1.0
1.0
?PARAM(2)-1.0
1.0
?PARAM(5)
-2.0
1.0
0.0
0.0
1.0
call srotmg (d1, d2, x1, y1, param)
call drotmg (d1, d2, x1, y1, param)
call sscal (n, a, x, incx)
call dscal (n, a, x, incx)
call cscal (n, a, x, incx)
call zscal (n, a, x, incx)
call csscal (n, a, x, incx)
call zdscal (n, a, x, incx)
call sswap (n, x, incx, y, incy)
call dswap (n, x, incx, y, incy)
call cswap (n, x, incx, y, incy)
call zswap (n, x, incx, y, incy)
index = isamax (n, x, incx)
index = idamax (n, x, incx)
index = icamax (n, x, incx)
index = izamax (n, x, incx)
index = isamin (n, x, incx)
index = idamin (n, x, incx)
index = icamin (n, x, incx)
index = izamin (n, x, incx)
* Legal Information © 1999, 2002-2004, Intel Corporation