![]() |
LAPACK
3.6.0
LAPACK: Linear Algebra PACKage
|
Functions | |
subroutine | caxpy (N, CA, CX, INCX, CY, INCY) |
CAXPY More... | |
subroutine | ccopy (N, CX, INCX, CY, INCY) |
CCOPY More... | |
complex function | cdotc (N, CX, INCX, CY, INCY) |
CDOTC More... | |
complex function | cdotu (N, CX, INCX, CY, INCY) |
CDOTU More... | |
subroutine | crotg (CA, CB, C, S) |
CROTG More... | |
subroutine | cscal (N, CA, CX, INCX) |
CSCAL More... | |
subroutine | csrot (N, CX, INCX, CY, INCY, C, S) |
CSROT More... | |
subroutine | csscal (N, SA, CX, INCX) |
CSSCAL More... | |
subroutine | cswap (N, CX, INCX, CY, INCY) |
CSWAP More... | |
This is the group of complex LEVEL 1 BLAS routines.
subroutine caxpy | ( | integer | N, |
complex | CA, | ||
complex, dimension(*) | CX, | ||
integer | INCX, | ||
complex, dimension(*) | CY, | ||
integer | INCY | ||
) |
CAXPY
CAXPY constant times a vector plus a vector.
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
subroutine ccopy | ( | integer | N, |
complex, dimension(*) | CX, | ||
integer | INCX, | ||
complex, dimension(*) | CY, | ||
integer | INCY | ||
) |
CCOPY
CCOPY copies a vector x to a vector y.
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
complex function cdotc | ( | integer | N, |
complex, dimension(*) | CX, | ||
integer | INCX, | ||
complex, dimension(*) | CY, | ||
integer | INCY | ||
) |
CDOTC
CDOTC forms the dot product of two complex vectors CDOTC = X^H * Y
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
complex function cdotu | ( | integer | N, |
complex, dimension(*) | CX, | ||
integer | INCX, | ||
complex, dimension(*) | CY, | ||
integer | INCY | ||
) |
CDOTU
CDOTU forms the dot product of two complex vectors CDOTU = X^T * Y
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
subroutine crotg | ( | complex | CA, |
complex | CB, | ||
real | C, | ||
complex | S | ||
) |
CROTG
CROTG determines a complex Givens rotation.
subroutine cscal | ( | integer | N, |
complex | CA, | ||
complex, dimension(*) | CX, | ||
integer | INCX | ||
) |
CSCAL
CSCAL scales a vector by a constant.
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(*)
subroutine csrot | ( | integer | N, |
complex, dimension( * ) | CX, | ||
integer | INCX, | ||
complex, dimension( * ) | CY, | ||
integer | INCY, | ||
real | C, | ||
real | S | ||
) |
CSROT
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.
[in] | N | N is INTEGER On entry, N specifies the order of the vectors cx and cy. N must be at least zero. |
[in,out] | 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. |
[in] | INCX | INCX is INTEGER On entry, INCX specifies the increment for the elements of CX. INCX must not be zero. |
[in,out] | 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. |
[in] | INCY | INCY is INTEGER On entry, INCY specifies the increment for the elements of CY. INCY must not be zero. |
[in] | C | C is REAL On entry, C specifies the cosine, cos. |
[in] | S | S is REAL On entry, S specifies the sine, sin. |
subroutine csscal | ( | integer | N, |
real | SA, | ||
complex, dimension(*) | CX, | ||
integer | INCX | ||
) |
CSSCAL
CSSCAL scales a complex vector by a real constant.
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(*)
subroutine cswap | ( | integer | N, |
complex, dimension(*) | CX, | ||
integer | INCX, | ||
complex, dimension(*) | CY, | ||
integer | INCY | ||
) |
CSWAP
CSWAP interchanges two vectors.
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)