SRC/zlacrt.f(3)

πŸ¦‹ SRC/zlacrt.f(3) β€” Library Functions Manual πŸ¦‹

okay bestie, you opened SRC/zlacrt.f(3) from the Library Functions Manual, and this page is all about ZLACRT β€” a lovely little Fortran subroutine that gives a pair of complex vectors a linear-transformation moment. πŸ’« no cap, it's giving math with main character energy.

✨ NAME ✨

SRC/zlacrt.f

πŸ’… SYNOPSIS πŸ’…

Functions/Subroutines

  • subroutine zlacrt (n, cx, incx, cy, incy, c, s) β€” ZLACRT performs a linear transformation of a pair of complex vectors.

🌸 Function/Subroutine Documentation 🌸

subroutine zlacrt (integer n, complex*16, dimension( * ) cx, integer incx,
    complex*16, dimension( * ) cy, integer incy, complex*16 c, complex*16 s)

ZLACRT performs a linear transformation of a pair of complex vectors. slay.

πŸŽ€ Purpose πŸŽ€

ok so ZLACRT performs this operation:

   (  c  s )( x )  ==> ( x )
   ( -s  c )( y )      ( y )

where c and s are complex and the vectors x and y are complex. periodt, that's the whole transformation vibe. πŸ’–

πŸ“ Parameters πŸ“

N

N is INTEGER. It's the number of elements in the vectors CX and CY. literally the size check before the glow-up. ✨

CX

CX is a COMPLEX*16 array, dimension (N). On input, it's the vector x. On output, CX is overwritten with c*x + s*y. she gets a makeover, bestie. πŸ’…

INCX

INCX is INTEGER. It's the increment between successive values of CX. INCX <> 0. do not come in here with a zero stride, i beg. 🫢

CY

CY is a COMPLEX*16 array, dimension (N). On input, it's the vector y. On output, CY is overwritten with -s*x + c*y. new value, same iconic array. πŸ¦‹

INCY

INCY is INTEGER. It's the increment between successive values of CY. INCY <> 0. again: not zero, okay? noted with love. 🌸

C

C is COMPLEX*16. just a complex scalar doing her thing. πŸŽ€

S

S is COMPLEX*16. And together, C and S define the matrix:

   [  C   S  ].
   [ -S   C  ]

the way that matrix is structured? obsessed. πŸ‘‘

πŸ‘‘ Author πŸ‘‘

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

Definition at line 104 of file zlacrt.f.

🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


okurrr, that's the whole vibe: LAPACK, Version 3.12.0, from SRC/zlacrt.f(3). go off, complex vectors πŸ’œπŸ«Ά

πŸ“¦ where this page comes from