table of contents
complex_blas_level1(3) | LAPACK | complex_blas_level1(3) |
NAME¶
complex_blas_level1 - complex
SYNOPSIS¶
Functions¶
subroutine CAXPY (n, ca, cx, incx, cy, incy)
CAXPY subroutine CCOPY (n, cx, incx, cy, incy)
CCOPY complex function CDOTC (n, cx, incx, cy, incy)
CDOTC complex function CDOTU (n, cx, incx, cy, incy)
CDOTU subroutine CROTG (ca, cb, c, s)
CROTG subroutine CSCAL (n, ca, cx, incx)
CSCAL subroutine CSROT (n, cx, incx, cy, incy, c, s)
CSROT subroutine CSSCAL (n, sa, cx, incx)
CSSCAL subroutine CSWAP (n, cx, incx, cy, incy)
CSWAP
Detailed Description¶
This is the group of complex LEVEL 1 BLAS routines.
Function Documentation¶
subroutine CAXPY (integer n, complex ca, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)¶
CAXPY
Purpose:
CAXPY constant times a vector plus a vector.
Parameters
N is INTEGER
number of elements in input vector(s)
CA
CA is COMPLEX
On entry, CA specifies the scalar alpha.
CX
CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
CY
CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER
storage spacing between elements of CY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 89 of file caxpy.f.
subroutine CCOPY (integer n, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)¶
CCOPY
Purpose:
CCOPY copies a vector x to a vector y.
Parameters
N is INTEGER
number of elements in input vector(s)
CX
CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
CY
CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER
storage spacing between elements of CY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 82 of file ccopy.f.
complex function CDOTC (integer n, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)¶
CDOTC
Purpose:
CDOTC forms the dot product of two complex vectors
CDOTC = X^H * Y
Parameters
N is INTEGER
number of elements in input vector(s)
CX
CX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
CY
CY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER
storage spacing between elements of CY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 84 of file cdotc.f.
complex function CDOTU (integer n, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)¶
CDOTU
Purpose:
CDOTU forms the dot product of two complex vectors
CDOTU = X^T * Y
Parameters
N is INTEGER
number of elements in input vector(s)
CX
CX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
CY
CY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER
storage spacing between elements of CY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 84 of file cdotu.f.
subroutine CROTG (complex ca, complex cb, real c, complex s)¶
CROTG
Purpose:
CROTG determines a complex Givens rotation.
Parameters
CA is COMPLEX
CB
CB is COMPLEX
C
C is REAL
S
S is COMPLEX
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Definition at line 63 of file crotg.f.
subroutine CSCAL (integer n, complex ca, complex, dimension(*) cx, integer incx)¶
CSCAL
Purpose:
CSCAL scales a vector by a constant.
Parameters
N is INTEGER
number of elements in input vector(s)
CA
CA is COMPLEX
On entry, CA specifies the scalar alpha.
CX
CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
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(*)
Definition at line 79 of file cscal.f.
subroutine CSROT (integer n, complex, dimension( * ) cx, integer incx, complex, dimension( * ) cy, integer incy, real c, real s)¶
CSROT
Purpose:
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.
Parameters
N is INTEGER
On entry, N specifies the order of the vectors cx and cy.
N must be at least zero.
CX
CX 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.
INCX
INCX is INTEGER
On entry, INCX specifies the increment for the elements of
CX. INCX must not be zero.
CY
CY 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.
INCY
INCY is INTEGER
On entry, INCY specifies the increment for the elements of
CY. INCY must not be zero.
C
C is REAL
On entry, C specifies the cosine, cos.
S
S is REAL
On entry, S specifies the sine, sin.
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Definition at line 99 of file csrot.f.
subroutine CSSCAL (integer n, real sa, complex, dimension(*) cx, integer incx)¶
CSSCAL
Purpose:
CSSCAL scales a complex vector by a real constant.
Parameters
N is INTEGER
number of elements in input vector(s)
SA
SA is REAL
On entry, SA specifies the scalar alpha.
CX
CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
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(*)
Definition at line 79 of file csscal.f.
subroutine CSWAP (integer n, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)¶
CSWAP
Purpose:
CSWAP interchanges two vectors.
Parameters
N is INTEGER
number of elements in input vector(s)
CX
CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER
storage spacing between elements of CX
CY
CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER
storage spacing between elements of CY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date
Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
Definition at line 82 of file cswap.f.
Author¶
Generated automatically by Doxygen for LAPACK from the source code.
Mon Mar 11 2024 11:42:31 | Version 3.9.0 |