BLAS/SRC/zgerc.f(3)

πŸ’– BLAS/SRC/zgerc.f β€” the LAPACK manual page, but make it make sense πŸ’–

okay bestie, welcome to the LAPACK docs, specifically the page for BLAS/SRC/zgerc.f. yes it's a .f file, yes it's Fortran, no we are not scared. let's get into it 🫢


✨ NAME ✨

BLAS/SRC/zgerc.f


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • subroutine zgerc (m, n, alpha, x, incx, y, incy, a, lda) β€” aka ZGERC, the main character of this page πŸ‘‘

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine zgerc (integer m, integer n, complex*16 alpha, complex*16, dimension(*) x, integer incx, complex*16, dimension(*) y, integer incy, complex*16, dimension(lda,*) a, integer lda)

ZGERC

Purpose:

so here's the tea, bestie β€” ZGERC performs the rank 1 operation

A := alpha*x*y**H + A,

where alpha is a scalar, x is an m element vector, y is an n element vector and A is an m by n matrix. that's it, that's the whole vibe. lowkey elegant ngl ✨


Parameters

  • M

M is INTEGER On entry, M specifies the number of rows of the matrix A. M must be at least zero. (no negative rows, we don't do that here πŸ™ˆ)

  • N

N is INTEGER On entry, N specifies the number of columns of the matrix A. N must be at least zero. same energy, no negativity allowed πŸ’…

  • ALPHA

ALPHA is COMPLEX*16 On entry, ALPHA specifies the scalar alpha. it's giving scale factor, it's giving multiplier, it's giving ✨the moment✨

  • X

X is COMPLEX*16 array, dimension at least ( 1 + ( m - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the m element vector x. bring your vector, she's ready πŸ’œ

  • INCX

INCX is INTEGER On entry, INCX specifies the increment for the elements of X. INCX must not be zero. fr fr, zero is NOT it.

  • Y

Y is COMPLEX*16 array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented array Y must contain the n element vector y. the other half of the duo πŸŽ€

  • INCY

INCY is INTEGER On entry, INCY specifies the increment for the elements of Y. INCY must not be zero. (yes, also not zero. we said what we said πŸ’€)

  • A

A is COMPLEX*16 array, dimension ( LDA, N ) Before entry, the leading m by n part of the array A must contain the matrix of coefficients. On exit, A is overwritten by the updated matrix. she gets a glow-up in place, no copy needed πŸ‘‘

  • LDA

LDA is INTEGER On entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, m ). do not skimp on this one bestie, the math will notice 🧚


πŸ’« Author πŸ’«

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

the whole squad showed up, iconic 🌈


πŸ”₯ Further Details: πŸ”₯

  • Level 2 Blas routine.
  • -- Written on 22-October-1986. Jack Dongarra, Argonne National Lab. Jeremy Du Croz, Nag Central Office. Sven Hammarling, Nag Central Office. Richard Hanson, Sandia National Labs.
1986?? bestie was doing linear algebra before most of us were even a thought. legends only, no cap πŸ‘‘

Definition at line 129 of file zgerc.f.


🌟 Author 🌟

Generated automatically by Doxygen for LAPACK from the source code. (yes, a robot wrote the docs. a very thorough robot. we respect the hustle πŸ€–πŸ’–)


Version 3.12.0 β€” Tue Nov 28 2023 12:08:41 β€” from BLAS/SRC/zgerc.f(3)

and that's the whole page bestie!! go forth and multiply your matrices, A := alpha*x*y**H + A and slay πŸ’…βœ¨πŸ¦‹