SRC/zla_geamv.f(3)
Bestie, welcome to SRC/zla_geamv.f(3) π
β part of the Library Functions Manual, and yes, this is the page where Fortran has a whole matrix-vector main character moment.
πΈ NAME πΈ
SRC/zla_geamv.f β thatβs the name, and it is serving exactly that. Iconic.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
Hereβs the callable cutie:
subroutine zla_geamv (trans, m, n, alpha, a, lda, x, incx, beta, y,
incy)
ZLA_GEAMV computes a matrix-vector product using a general matrix to calculate error bounds.
π Function/Subroutine Documentation π
Meet the full signature, character-for-character:
subroutine zla_geamv (integer trans, integer m, integer n, double precision
alpha, complex*16, dimension( lda, * ) a, integer lda, complex*16,
dimension( * ) x, integer incx, double precision beta, double precision,
dimension( * ) y, integer incy)
ZLA_GEAMV computes a matrix-vector product using a general matrix to calculate error bounds.
π₯ Purpose π₯
Okay so hereβs the lore: ZLA_GEAMV performs one of these matrix-vector operations:
y := alpha*abs(A)*abs(x) + beta*abs(y),
or y := alpha*abs(A)**T*abs(x) + beta*abs(y),
where alpha and beta are scalars, x and y are vectors and A is an m by n matrix.
This function is primarily used in calculating error bounds β thatβs the main character use case. To protect against underflow during evaluation, components in the resulting vector are perturbed away from zero by (N+1) times the underflow threshold. To prevent unnecessarily large errors for block-structure embedded in general matrices, zero components are not perturbed. A zero entry is considered if all multiplications involved in computing that entry have at least one zero multiplicand.
π Parameters π
Every parameter, no skips, no cap:
TRANSβTRANS is INTEGER. On entry,TRANSspecifies the operation to be performed as follows:BLAS_NO_TRANSgivesy := alpha*abs(A)*abs(x) + beta*abs(y),BLAS_TRANSgivesy := alpha*abs(A**T)*abs(x) + beta*abs(y), andBLAS_CONJ_TRANSgivesy := alpha*abs(A**T)*abs(x) + beta*abs(y). Unchanged on exit.MβM is INTEGER. On entry,Mspecifies the number of rows of the matrixA.Mmust be at least zero. Unchanged on exit.NβN is INTEGER. On entry,Nspecifies the number of columns of the matrixA.Nmust be at least zero. Unchanged on exit.ALPHAβALPHA is DOUBLE PRECISION. On entry,ALPHAspecifies the scalaralpha. Unchanged on exit.AβA is COMPLEX*16 array, dimension ( LDA, n ). Before entry, the leadingmbynpart of the arrayAmust contain the matrix of coefficients. Unchanged on exit.LDAβLDA is INTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, m ). Unchanged on exit.XβX is COMPLEX*16 array. Its dimension is at least( 1 + ( n - 1 )*abs( INCX ) )whenTRANS = 'N'or'n', and at least( 1 + ( m - 1 )*abs( INCX ) )otherwise. Before entry, the incremented arrayXmust contain the vectorx. Unchanged on exit.INCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. Unchanged on exit.BETAβBETA is DOUBLE PRECISION. On entry,BETAspecifies the scalarbeta. WhenBETAis supplied as zero thenYneed not be set on input. Unchanged on exit.YβY is DOUBLE PRECISION array. Its dimension is( 1 + ( m - 1 )*abs( INCY ) )whenTRANS = 'N'or'n', and at least( 1 + ( n - 1 )*abs( INCY ) )otherwise. Before entry withBETAnon-zero, the incremented arrayYmust contain the vectory. On exit,Yis overwritten by the updated vectory. If eithermornis zero, thenYnot referenced and the function performs a quick return.INCYβINCY is INTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. Unchanged on exit.
π Also, fact-check bestie: Level 2 Blas routine.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 175 of file zla_geamv.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
Catch you later, bestie β this page is from LAPACK, Version 3.12.0, and itβs for SRC/zla_geamv.f(3). Stay underflow-free π
β¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms