BLAS/SRC/cgeru.f(3)
BLAS/SRC/cgeru.f π CGERU
okay bestie, this page lives in the LAPACK manual, section BLAS/SRC/cgeru.f(3), and it's literally the glow-up guide for one little Fortran subroutine. sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
BLAS/SRC/cgeru.f β the file, the icon, the moment. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine cgeru (m, n, alpha, x, incx, y, incy, a, lda)CGERU
β¨ Function/Subroutine Documentation β¨
subroutine cgeru (integer m, integer n, complex alpha, complex, dimension(*) x, integer incx, complex, dimension(*) y, integer incy, complex, dimension(lda,*) a, integer lda)
CGERU
Purpose:
CGERU performs the rank 1 operation
A := alpha*x*y**T + 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. no cap, that's the whole plot π¦
Parameters
MβMisINTEGER. On entry,Mspecifies the number of rows of the matrixA.Mmust be at least zero. (yes bestie, zero is allowed, negative is not π)NβNisINTEGER. On entry,Nspecifies the number of columns of the matrixA.Nmust be at least zero.ALPHAβALPHAisCOMPLEX. On entry,ALPHAspecifies the scalaralpha. the main character of the scalars tbh πXβXisCOMPLEXarray, dimension at least( 1 + ( m - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain themelement vectorx.INCXβINCXisINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. π«YβYisCOMPLEXarray, dimension at least( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented arrayYmust contain thenelement vectory.INCYβINCYisINTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. π«AβAisCOMPLEXarray, dimension( LDA, N ). Before entry, the leadingmbynpart of the arrayAmust contain the matrix of coefficients. On exit,Ais overwritten by the updated matrix. she gets a whole new look β¨LDAβLDAisINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, m ).
lowkey important:INCXandINCYcan't be zero, andLDAhas to be at leastmax( 1, m ). the math is not mathing otherwise π
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
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.
not them writing this in 1986 and it still ate π₯ iconic behavior fr fr
Definition at line 129 of file cgeru.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code. (so the robots did the paperwork, we just vibe π§)
and that's the whole page bestie π this was Version 3.12.0, dated Tue Nov 28 2023 12:08:41, straight out of BLAS/SRC/cgeru.f(3). go forth and rank-1 update your little heart out πΈπβ¨
π¦ 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