complex_blas_level1(3)
β¨ complex_blas_level1 β¨
okay bestie, welcome to complex_blas_level1(3) from the LAPACK manual π
this is the whole lil friend group of complex LEVEL 1 BLAS routines β the little vector ops that do one thing each and do it flawlessly. no cap. π
πΈ NAME πΈ
complex_blas_level1 β complex π¦
π SYNOPSIS π
Functions
subroutine caxpy (N, CA, CX, INCX, CY, INCY)β CAXPYsubroutine ccopy (N, CX, INCX, CY, INCY)β CCOPYcomplex function cdotc (N, CX, INCX, CY, INCY)β CDOTCcomplex function cdotu (N, CX, INCX, CY, INCY)β CDOTUsubroutine cscal (N, CA, CX, INCX)β CSCALsubroutine csrot (N, CX, INCX, CY, INCY, C, S)β CSROTsubroutine csscal (N, SA, CX, INCX)β CSSCALsubroutine cswap (N, CX, INCX, CY, INCY)β CSWAP
π Detailed Description π
This is the group of complex LEVEL 1 BLAS routines. that's it, that's the vibe, they're all family π«Ά
π₯ 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.
literally: take a constant, times it by a vector, add another vector. iconic behavior β¨
Parameters
NβN is INTEGER, number of elements in input vector(s) πΈCAβCA is COMPLEX. On entry,CAspecifies the scalar alpha. πCXβCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )π¦INCXβINCX is INTEGER, storage spacing between elements ofCXβCYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )πINCYβINCY is INTEGER, storage spacing between elements ofCYπ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
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
Purpose:
CCOPY copies a vector x to a vector y.
copy-paste but make it linear algebra π§ it's giving "dupe it, bestie" π
Parameters
Nβ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 ofCXβCYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )πINCYβINCY is INTEGER, storage spacing between elements ofCYπ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
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
Purpose:
CDOTC forms the dot product of two complex vectors
CDOTC = X^H * Y
note the H bestie β that's the conjugate transpose, she's fancy π
β¨
Parameters
Nβ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 ofCXβCYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )πINCYβINCY is INTEGER, storage spacing between elements ofCYπ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
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
Purpose:
CDOTU forms the dot product of two complex vectors
CDOTU = X^T * Y
and this one is the T version β plain transpose, no conjugation. she's unbothered, she's chill π
Parameters
Nβ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 ofCXβCYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )πINCYβINCY is INTEGER, storage spacing between elements ofCYπ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
subroutine cscal (integer N, complex CA, complex, dimension(*) CX, integer INCX)
CSCAL
Purpose:
CSCAL scales a vector by a constant.
glow-up for your whole vector, one constant at a time β¨
Parameters
NβN is INTEGER, number of elements in input vector(s) πΈCAβCA is COMPLEX. On entry,CAspecifies the scalar alpha. πCXβCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )π¦INCXβINCX is INTEGER, storage spacing between elements ofCXβ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
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(*)
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.
rotating your vectors in the complex plane, real cos and real sin doing the work. it's giving choreography π©°
Parameters
NβN is INTEGER. On entry,Nspecifies the order of the vectorscxandcy.Nmust be at least zero. πΈCXβCX is COMPLEX array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayCXmust contain the n element vectorcx. On exit,CXis overwritten by the updated vectorcx. π¦INCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofCX.INCXmust not be zero. βCYβCY is COMPLEX array, dimension at least ( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented arrayCYmust contain the n element vectorcy. On exit,CYis overwritten by the updated vectorcy. πINCYβINCY is INTEGER. On entry,INCYspecifies the increment for the elements ofCY.INCYmust not be zero. πCβC is REAL. On entry,Cspecifies the cosine,cos. πSβS is REAL. On entry,Sspecifies the sine,sin. π
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
subroutine csscal (integer N, real SA, complex, dimension(*) CX, integer INCX)
CSSCAL
Purpose:
CSSCAL scales a complex vector by a real constant.
same energy as CSCAL but the scalar is real this time. complex vector, real glow-up π
Parameters
NβN is INTEGER, number of elements in input vector(s) πΈSAβSA is REAL. On entry,SAspecifies the scalar alpha. πCXβCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )π¦INCXβINCX is INTEGER, storage spacing between elements ofCXβ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
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(*)
subroutine cswap (integer N, complex, dimension() CX, integer INCX, complex, dimension() CY, integer INCY)
CSWAP
Purpose:
CSWAP interchanges two vectors.
the swap of all swaps. two vectors walk into a bar and leave as each other. main character energy π₯
Parameters
Nβ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 ofCXβCYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )πINCYβINCY is INTEGER, storage spacing between elements ofCYπ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Further Details:
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. π€β¨
okay that's the whole page bestie, you ate π
and that's a wrap fr fr π this was Version 3.11.0, dated Sun Nov 27 2022 β LAPACK, the complex_blas_level1(3) manual page. no cap, go write some vector math. π¦πΈπ
π¦ where this page comes from
- debian bookworm: liblapack-doc 3.11.0-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms