BLAS/SRC/sger.f(3)

✨ BLAS/SRC/sger.f ✨</p>

okay bestie, welcome to the sger page from LAPACK πŸ’– (yes it lives in the BLAS/SRC corner of the repo, section 3 of the manual, and it is exactly as iconic as it sounds). sit down, hydrate, and let's get into it 🫢


NAME 🌸

BLAS/SRC/sger.f β€” it's giving "one file, one purpose, zero notes" πŸ’…


SYNOPSIS ✨

Functions/Subroutines πŸŽ€

  • subroutine sger (m, n, alpha, x, incx, y, incy, a, lda) β€” SGER

Function/Subroutine Documentation πŸ’œ

subroutine sger πŸ¦‹

subroutine sger (integer m, integer n, real alpha, real, dimension(*) x,
    integer incx, real, dimension(*) y, integer incy, real, dimension(lda,*)
    a, integer lda)

SGER β€” that's the name, no cap πŸŽ€

Purpose πŸ”₯

so here's the tea, bestie: SGER 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. literally the glow-up of your matrix, one rank-1 update at a time ✨

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, babe, that's not a vibe πŸ™ˆ)
  • N β€” N is INTEGER. On entry, N specifies the number of columns of the matrix A. N must be at least zero.
  • ALPHA β€” ALPHA is REAL. On entry, ALPHA specifies the scalar alpha. just the little multiplier doing its main character moment πŸ’…
  • X β€” X is REAL array, dimension at least ( 1 + ( m - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the m element vector x. 🌈
  • INCX β€” INCX is INTEGER. On entry, INCX specifies the increment for the elements of X. INCX must not be zero. > zero is NOT it, bestie πŸ’€
  • Y β€” Y is REAL array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented array Y must contain the n element vector y. πŸ¦‹
  • INCY β€” INCY is INTEGER. On entry, INCY specifies the increment for the elements of Y. INCY must not be zero. > same rule, same energy, zero is banned 🚫
  • A β€” A is REAL 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. (yes babe, it gets replaced, she's a changed woman now 😭)
  • 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 ). ⭐

Author πŸ‘‘

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

the whole squad, fr fr 🫢

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.

definition at line 129 of file sger.f β€” go look, it's right there πŸ“


Author 🌈

Generated automatically by Doxygen for LAPACK from the source code. (not me, not you, a robot did this and honestly? slay πŸ€–βœ¨)


okay that's the whole page, you ate it, periodt πŸ’…πŸ’– this was LAPACK Version 3.12.0, dated Tue Nov 28 2023 12:08:41, straight out of BLAS/SRC/sger.f β€” go forth and rank-1 update responsibly, bestie πŸŽ€πŸ¦‹