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)β akaZGERC, 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 π
β¨π¦
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms