complex16_blas_level1(3)

NAME
complex16_blas_level1 - complex16

SYNOPSIS

  Functions
subroutine zaxpy (n, za, zx, incx, zy, incy)
ZAXPY
subroutine zcopy (n, zx, incx, zy, incy)
ZCOPY
complex *16 function zdotc (n, zx, incx, zy, incy)
ZDOTC
complex *16 function zdotu (n, zx, incx, zy, incy)
ZDOTU
subroutine zdrot (n, zx, incx, zy, incy, c, s)
ZDROT
subroutine zdscal (n, da, zx, incx)
ZDSCAL
subroutine zscal (n, za, zx, incx)
ZSCAL
subroutine zswap (n, zx, incx, zy, incy)
ZSWAP

Detailed Description

This is the group of complex16 LEVEL 1 BLAS routines.

Function Documentation

  subroutine zaxpy (integer n, complex*16 za, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)

ZAXPY

Purpose:

        ZAXPY constant times a vector plus a vector.

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    ZA

              ZA is COMPLEX*16
               On entry, ZA specifies the scalar alpha.

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

    ZY

              ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )

    INCY

              INCY is INTEGER
             storage spacing between elements of ZY

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, 3/11/78.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 87 of file zaxpy.f.

  subroutine zcopy (integer n, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)

ZCOPY

Purpose:

        ZCOPY copies a vector, x, to a vector, y.

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

    ZY

              ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )

    INCY

              INCY is INTEGER
             storage spacing between elements of ZY

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, linpack, 4/11/78.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 80 of file zcopy.f.

  complex*16 function zdotc (integer n, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)

ZDOTC

Purpose:

     ZDOTC forms the dot product of two complex vectors
          ZDOTC = X^H * Y

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

    ZY

              ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )

    INCY

              INCY is INTEGER
             storage spacing between elements of ZY

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, 3/11/78.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 82 of file zdotc.f.

  complex*16 function zdotu (integer n, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)

ZDOTU

Purpose:

     ZDOTU forms the dot product of two complex vectors
          ZDOTU = X^T * Y

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

    ZY

              ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )

    INCY

              INCY is INTEGER
             storage spacing between elements of ZY

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, 3/11/78.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 82 of file zdotu.f.

  subroutine zdrot (integer n, complex*16, dimension( * ) zx, integer incx, complex*16, dimension( * ) zy, integer incy, double precision c, double precision s)

ZDROT

Purpose:

     Applies a plane rotation, where the cos and sin (c and s) are real
     and the vectors cx and cy are complex.
     jack dongarra, linpack, 3/11/78.

Parameters
    N

              N is INTEGER
               On entry, N specifies the order of the vectors cx and cy.
               N must be at least zero.

    ZX

              ZX is COMPLEX*16 array, dimension at least
               ( 1 + ( N - 1 )*abs( INCX ) ).
               Before entry, the incremented array ZX must contain the n
               element vector cx. On exit, ZX is overwritten by the updated
               vector cx.

    INCX

              INCX is INTEGER
               On entry, INCX specifies the increment for the elements of
               ZX. INCX must not be zero.

    ZY

              ZY is COMPLEX*16 array, dimension at least
               ( 1 + ( N - 1 )*abs( INCY ) ).
               Before entry, the incremented array ZY must contain the n
               element vector cy. On exit, ZY is overwritten by the updated
               vector cy.

    INCY

              INCY is INTEGER
               On entry, INCY specifies the increment for the elements of
               ZY. INCY must not be zero.

    C

              C is DOUBLE PRECISION
               On entry, C specifies the cosine, cos.

    S

              S is DOUBLE PRECISION
               On entry, S specifies the sine, sin.

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Definition at line 97 of file zdrot.f.

  subroutine zdscal (integer n, double precision da, complex*16, dimension(*) zx, integer incx)

ZDSCAL

Purpose:

        ZDSCAL scales a vector by a constant.

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    DA

              DA is DOUBLE PRECISION
               On entry, DA specifies the scalar alpha.

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, 3/11/78.
         modified 3/93 to return if incx .le. 0.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 77 of file zdscal.f.

  subroutine zscal (integer n, complex*16 za, complex*16, dimension(*) zx, integer incx)

ZSCAL

Purpose:

        ZSCAL scales a vector by a constant.

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    ZA

              ZA is COMPLEX*16
               On entry, ZA specifies the scalar alpha.

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, 3/11/78.
         modified 3/93 to return if incx .le. 0.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 77 of file zscal.f.

  subroutine zswap (integer n, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)

ZSWAP

Purpose:

        ZSWAP interchanges two vectors.

Parameters
    N

              N is INTEGER
             number of elements in input vector(s)

    ZX

              ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )

    INCX

              INCX is INTEGER
             storage spacing between elements of ZX

    ZY

              ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )

    INCY

              INCY is INTEGER
             storage spacing between elements of ZY

Author
    Univ. of Tennessee

    Univ. of California Berkeley

    Univ. of Colorado Denver

    NAG Ltd.

Further Details:

         jack dongarra, 3/11/78.
         modified 12/3/93, array(1) declarations changed to array(*)

Definition at line 80 of file zswap.f.

Author

Generated automatically by Doxygen for LAPACK from the source code.