Provided by: liblapack-doc_3.9.0-1build1_all

**NAME**

complex_blas_level1

**SYNOPSIS**

Functionssubroutinecaxpy(N, CA, CX, INCX, CY, INCY)CAXPYsubroutineccopy(N, CX, INCX, CY, INCY)CCOPYcomplex functioncdotc(N, CX, INCX, CY, INCY)CDOTCcomplex functioncdotu(N, CX, INCX, CY, INCY)CDOTUsubroutinecrotg(CA, CB, C, S)CROTGsubroutinecscal(N, CA, CX, INCX)CSCALsubroutinecsrot(N, CX, INCX, CY, INCY, C, S)CSROTsubroutinecsscal(N, SA, CX, INCX)CSSCALsubroutinecswap(N, CX, INCX, CY, INCY)CSWAP

**Detailed** **Description**

This is the group of complex LEVEL 1 BLAS routines.

**Function** **Documentation**

subroutinecaxpy(integerN,complexCA,complex,dimension(*)CX,integerINCX,complex,dimension(*)CY,integerINCY)CAXPYPurpose:CAXPY constant times a vector plus a vector.ParametersNN is INTEGER number of elements in input vector(s)CACA is COMPLEX On entry, CA specifies the scalar alpha.CXCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXCYCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYINCY is INTEGER storage spacing between elements of CYAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)subroutineccopy(integerN,complex,dimension(*)CX,integerINCX,complex,dimension(*)CY,integerINCY)CCOPYPurpose:CCOPY copies a vector x to a vector y.ParametersNN is INTEGER number of elements in input vector(s)CXCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXCYCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYINCY is INTEGER storage spacing between elements of CYAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)complexfunctioncdotc(integerN,complex,dimension(*)CX,integerINCX,complex,dimension(*)CY,integerINCY)CDOTCPurpose:CDOTC forms the dot product of two complex vectors CDOTC = X^H * YParametersNN is INTEGER number of elements in input vector(s)CXCX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXCYCY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYINCY is INTEGER storage spacing between elements of CYAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)complexfunctioncdotu(integerN,complex,dimension(*)CX,integerINCX,complex,dimension(*)CY,integerINCY)CDOTUPurpose:CDOTU forms the dot product of two complex vectors CDOTU = X^T * YParametersNN is INTEGER number of elements in input vector(s)CXCX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXCYCY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYINCY is INTEGER storage spacing between elements of CYAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)subroutinecrotg(complexCA,complexCB,realC,complexS)CROTGPurpose:CROTG determines a complex Givens rotation.ParametersCACA is COMPLEXCBCB is COMPLEXCC is REALSS is COMPLEXAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017subroutinecscal(integerN,complexCA,complex,dimension(*)CX,integerINCX)CSCALPurpose:CSCAL scales a vector by a constant.ParametersNN is INTEGER number of elements in input vector(s)CACA is COMPLEX On entry, CA specifies the scalar alpha.CXCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 3/93 to return if incx .le. 0. modified 12/3/93, array(1) declarations changed to array(*)subroutinecsrot(integerN,complex,dimension(*)CX,integerINCX,complex,dimension(*)CY,integerINCY,realC,realS)CSROTPurpose:CSROT 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.ParametersNN is INTEGER On entry, N specifies the order of the vectors cx and cy. N must be at least zero.CXCX is COMPLEX array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented array CX must contain the n element vector cx. On exit, CX is overwritten by the updated vector cx.INCXINCX is INTEGER On entry, INCX specifies the increment for the elements of CX. INCX must not be zero.CYCY is COMPLEX array, dimension at least ( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented array CY must contain the n element vector cy. On exit, CY is overwritten by the updated vector cy.INCYINCY is INTEGER On entry, INCY specifies the increment for the elements of CY. INCY must not be zero.CC is REAL On entry, C specifies the cosine, cos.SS is REAL On entry, S specifies the sine, sin.AuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateDecember 2016subroutinecsscal(integerN,realSA,complex,dimension(*)CX,integerINCX)CSSCALPurpose:CSSCAL scales a complex vector by a real constant.ParametersNN is INTEGER number of elements in input vector(s)SASA is REAL On entry, SA specifies the scalar alpha.CXCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 3/93 to return if incx .le. 0. modified 12/3/93, array(1) declarations changed to array(*)subroutinecswap(integerN,complex,dimension(*)CX,integerINCX,complex,dimension(*)CY,integerINCY)CSWAPPurpose:CSWAP interchanges two vectors.ParametersNN is INTEGER number of elements in input vector(s)CXCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )INCXINCX is INTEGER storage spacing between elements of CXCYCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYINCY is INTEGER storage spacing between elements of CYAuthorUniv. of Tennessee Univ. of California Berkeley Univ. of Colorado Denver NAG Ltd.DateNovember 2017FurtherDetails:jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)

**Author**

Generated automatically by Doxygen for LAPACK from the source code.