BLAS1(3DXML) — Subroutines
Digital
Name
blas1 − A library of linear algebra routines
Description
Basic Linear Algebra Subroutines Level 1 (BLAS 1) are a part of the Digital Extended Math Library (DXML). The BLAS1 subprograms perform low granularity operations on vectors that involve one or two vectors as input and return either a vector or a scalar as output. These subprograms have been optimized to provide high performance on Alpha AXP systems.
The following routines are included in BLAS 1. The Subprogram Name is the name of the manual page containing documentation on the subprogram.
| Subprogram | Operation |
| isamax (3dxml) | Calculates, in single-precision arithmetic, the index of the element of a real vector with maximum absolute value. |
| idamax (3dxml) | Calculates, in double-precision arithmetic, the index of the element of a real vector with maximum absolute value. |
| icamax (3dxml) | Calculates, in single-precision arithmetic, the index of the element of a complex vector with maximum absolute value. |
| izamax (3dxml) | Calculates, in double-precision arithmetic, the index of the element of a complex vector with maximum absolute value. |
| sasum (3dxml) | Calculates, in single-precision arithmetic, the sum of the absolute values of the elements of a real vector. |
| dasum (3dxml) | Calculates, in double-precision arithmetic, the sum of the absolute values of the elements of a real vector. |
| scasum (3dxml) | Calculates, in single-precision arithmetic, the sum of the absolute values of the elements of a complex vector. |
| dzasum (3dxml) | Calculates, in double-precision arithmetic, the sum of the absolute values of the elements of a complex vector. |
| saxpy (3dxml) | Calculates, in single-precision arithmetic, the product of a real scalar and a real vector and adds the result to a real vector. |
| daxpy (3dxml) | Calculates, in double-precision arithmetic, the product of a real scalar and a real vector and adds the result to a real vector. |
| caxpy (3dxml) | Calculates, in single-precision arithmetic, the product of a complex scalar and a complex vector and adds the result to a complex vector. |
| zaxpy (3dxml) | Calculates, in double-precision arithmetic, the product of a complex scalar and a complex vector and adds the result to a complex vector. |
| scopy (3dxml) | Copies a real, single-precision vector. |
| dcopy (3dxml) | Copies a real, double-precision vector. |
| ccopy (3dxml) | Copies a complex, single-precision vector. |
| zcopy (3dxml) | Copies a complex, double-precision vector. |
| sdot (3dxml) | Calculates the inner product of two real, single-precision vectors. |
| ddot (3dxml) | Calculates the inner product of two real, double-precision vectors. |
| dsdot (3dxml) | Calculates the inner product of two real, single-precision vectors using double precision arithmetic operations and returns a double-precision result. |
| cdotc (3dxml) | Calculates the conjugated inner product of two complex, single-precision vectors. |
| zdotc (3dxml) | Calculates the conjugated inner product of two complex, double-precision vectors. |
| cdotu (3dxml) | Calculates the unconjugated inner product of two complex, single-precision vectors. |
| zdotu (3dxml) | Calculates the unconjugated inner product of two complex, double-precision vectors. |
| sdsdot (3dxml) | Calculates the inner product of two real, single precision vectors, using double precision arithmetic operations, adds the inner product result to a real single-precision scalar, and returns a single precision result. |
| snrm2 (3dxml) | Calculates, in single-precision arithmetic, the square root of the sum of the squares of the elements of a real vector. |
| dnrm2 (3dxml) | Calculates, in double-precision arithmetic, the square root of the sum of the squares of the elements of a real vector. |
| scnrm2 (3dxml) | Calculates, in single-precision arithmetic, the square root of the sum of the squares of the elements of a complex vector. |
| dznrm2 (3dxml) | Calculates, in double-precision arithmetic, the square root of the sum of the squares of the elements of a complex vector. |
| crot (3dxml) | Applies a complex Givens plane rotation to two complex, single-precision vectors. |
| zrot (3dxml) | Applies a complex Givens plane rotation to two complex, double-precision vectors. |
| srot (3dxml) | Applies a real Givens plane rotation to two real, single-precision vectors. |
| drot (3dxml) | Applies a real Givens plane rotation to two real, double-precision vectors. |
| csrot (3dxml) | Applies a real Givens plane rotation to two complex, single-precision vectors. |
| zdrot (3dxml) | Applies a real Givens plane rotation to two complex, double-precision vectors. |
| srotm (3dxml) | Applies a modified Givens transformation to two real, single-precision vectors. |
| drotm (3dxml) | Applies a modified Givens transformation to two real double-precision vectors. |
| srotg (3dxml) | Generates the real elements for a real, single-precision Givens plane rotation. |
| drotg (3dxml) | Generates the real elements for a real, double-precision Givens plane rotation. |
| crotg (3dxml) | Generates the elements for a complex, single-precision Givens plane rotation. |
| zrotg (3dxml) | Generates the elements for a complex, double-precision Givens plane rotation. |
| srotmg (3dxml) | Generates the elements for a real, single-precision modified Givens transform. |
| drotmg (3dxml) | Generates the elements for a real, double-precision modified Givens transform. |
| sscal (3dxml) | Calculates, in single-precision arithmetic, the product of a real scalar and a real vector. |
| dscal (3dxml) | Calculates, in double-precision arithmetic, the product of a real scalar and a real vector. |
| cscal (3dxml) | Calculates, in single-precision arithmetic, the product of a complex scalar and a complex vector. |
| zscal (3dxml) | Calculates, in double-precision arithmetic, the product of a complex scalar and a complex vector. |
| csscal (3dxml) | Calculates, in single-precision arithmetic, the product of a real scalar and a complex vector. |
| zdscal (3dxml) | Calculates, in double-precision arithmetic, the product of a real scalar and a complex vector. |
| sswap (3dxml) | Swaps the elements of two real, single-precision vectors. |
| dswap (3dxml) | Swaps the elements of two real, double-precision vectors. |
| cswap (3dxml) | Swaps the elements of two complex, single-precision vectors. |
| zswap (3dxml) | Swaps the elements of two complex, double-precision vectors. |