complex16_blas_level1(3)

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

πŸ’– complex16_blas_level1 β€” complex16 πŸ’–

okay bestie, gather round, because this is the page: complex16_blas_level1, aka the complex16 level 1 BLAS squad. if you're here, you're doing vector math and you want it to be fast and correct, and honestly? iconic behavior. πŸŽ€


✨ SYNOPSIS ✨

πŸ¦‹ Functions

  • subroutine zaxpy (N, ZA, ZX, INCX, ZY, INCY) β€” ZAXPY
  • subroutine zcopy (N, ZX, INCX, ZY, INCY) β€” ZCOPY
  • complex *16 function zdotc (N, ZX, INCX, ZY, INCY) β€” ZDOTC
  • complex *16 function zdotu (N, ZX, INCX, ZY, INCY) β€” ZDOTU
  • subroutine zdrot (N, ZX, INCX, ZY, INCY, C, S) β€” ZDROT
  • subroutine zdscal (N, DA, ZX, INCX) β€” ZDSCAL
  • subroutine zscal (N, ZA, ZX, INCX) β€” ZSCAL
  • subroutine zswap (N, ZX, INCX, ZY, INCY) β€” ZSWAP

🌸 Detailed Description 🌸

This is the group of complex16 LEVEL 1 BLAS routines. eight little legends, one big vibe. no cap. πŸ’…


πŸ‘‘ Function Documentation πŸ‘‘

🧚 subroutine zaxpy (integer N, complex*16 ZA, complex*16, dimension() ZX, integer INCX, complex16, dimension(*) ZY, integer INCY)

ZAXPY

Purpose:

ZAXPY constant times a vector plus a vector.

like, y = a*x + y energy. it's giving "do the math, slay, move on." ⭐

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s). the count, the headcount, the how-many-besties. πŸ’–
  • ZA β€” ZA is COMPLEX*16. On entry, ZA specifies the scalar alpha. (yes bestie, that alpha.)
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). πŸ“
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX. the stride, the skip, the walk-pattern. 🚢
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). πŸ“
  • INCY β€” INCY is INTEGER. storage spacing between elements of ZY.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)

πŸ¦‹ subroutine zcopy (integer N, complex*16, dimension() ZX, integer INCX, complex16, dimension(*) ZY, integer INCY)

ZCOPY

Purpose:

ZCOPY copies a vector, x, to a vector, y.

copy-paste but make it linear algebra. no clipboard needed, bestie. πŸ“‹βœ¨

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s).
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX.
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ).
  • INCY β€” INCY is INTEGER. storage spacing between elements of ZY.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, linpack, 4/11/78.
modified 12/3/93, array(1) declarations changed to array(*)

🌈 complex*16 function zdotc (integer N, complex*16, dimension() ZX, integer INCX, complex16, dimension(*) ZY, integer INCY)

ZDOTC

Purpose:

ZDOTC forms the dot product of two complex vectors
     ZDOTC = X^H * Y

note the H bestie β€” that's the conjugate transpose. she's that girl. πŸ’…

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s).
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX.
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ).
  • INCY β€” INCY is INTEGER. storage spacing between elements of ZY.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)

πŸ“ complex*16 function zdotu (integer N, complex*16, dimension() ZX, integer INCX, complex16, dimension(*) ZY, integer INCY)

ZDOTU

Purpose:

ZDOTU forms the dot product of two complex vectors
     ZDOTU = X^T * Y

the un-conjugated sibling. T, not H. don't mix them up or your math gets weird. 😭

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s).
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX.
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ).
  • INCY β€” INCY is INTEGER. storage spacing between elements of ZY.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)

πŸŽ€ subroutine zdrot (integer N, complex*16, dimension( * ) ZX, integer INCX, complex*16, dimension( * ) ZY, integer INCY, double precision C, double precision S)

ZDROT

Purpose:

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.

spinning those complex vectors with a real cos and real sin. rotational main character energy. πŸŒ€

Parameters

  • N β€” N is INTEGER. On entry, N specifies the order of the vectors cx and cy. N must be at least zero.
  • ZX β€” ZX is COMPLEX*16 array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented array ZX must contain the n element vector cx. On exit, ZX is overwritten by the updated vector cx.
  • INCX β€” INCX is INTEGER. On entry, INCX specifies the increment for the elements of ZX. INCX must not be zero.
  • ZY β€” ZY is COMPLEX*16 array, dimension at least ( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented array ZY must contain the n element vector cy. On exit, ZY is overwritten by the updated vector cy.
  • INCY β€” INCY is INTEGER. On entry, INCY specifies the increment for the elements of ZY. INCY must not be zero.
  • C β€” C is DOUBLE PRECISION. On entry, C specifies the cosine, cos.
  • S β€” S is DOUBLE PRECISION. On entry, S specifies the sine, sin.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

🌟 subroutine zdscal (integer N, double precision DA, complex*16, dimension(*) ZX, integer INCX)

ZDSCAL

Purpose:

ZDSCAL scales a vector by a constant.

real constant, complex vector. it's giving mixed-marriage but make it math. 🫢

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s).
  • DA β€” DA is DOUBLE PRECISION. On entry, DA specifies the scalar alpha.
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)

πŸ’œ subroutine zscal (integer N, complex*16 ZA, complex*16, dimension(*) ZX, integer INCX)

ZSCAL

Purpose:

ZSCAL scales a vector by a constant.

same vibe as ZDSCAL but the constant is complex this time. glow-up. ✨

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s).
  • ZA β€” ZA is COMPLEX*16. On entry, ZA specifies the scalar alpha.
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, 3/11/78.
modified 3/93 to return if incx .le. 0.
modified 12/3/93, array(1) declarations changed to array(*)

πŸ”₯ subroutine zswap (integer N, complex*16, dimension() ZX, integer INCX, complex16, dimension(*) ZY, integer INCY)

ZSWAP

Purpose:

ZSWAP interchanges two vectors.

trading places, but the vectors are the ones swapping. no train involved. πŸš‚πŸ’«

Parameters

  • N β€” N is INTEGER. number of elements in input vector(s).
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ).
  • INCX β€” INCX is INTEGER. storage spacing between elements of ZX.
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ).
  • INCY β€” INCY is INTEGER. storage spacing between elements of ZY.

Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Further Details:

jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)

πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code. the bots did this one, bestie. πŸ€–βœ¨


okay and that's the whole page, no skips, no skims. this was LAPACK Version 3.11.0, dated Sun Nov 27 2022, and you read it in full which means you are lowkey a scholar now. go forth and multiply (vectors). periodt. πŸ’…πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from