complex_blas_level1(3)

πŸ“¦
version 3.11.0 Β· 2 versions
, in debian bookworm

✨ 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) β€” 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 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. 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, 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 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 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 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 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 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 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 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, 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 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, 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 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, 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 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 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 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