SRC/slarf.f(3)
π SRC/slarf.f β like, the whole vibe
okay so bestie, welcome to the slarf manual page (it lives in the LAPACK library functions manual, section 3, and honestly? she's iconic). Buckle up, we're about to make linear algebra feel like a group chat. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine slarf (side, m, n, v, incv, tau, c, ldc, work)β SLARF applies an elementary reflector to a general rectangular matrix. that's the whole personality fr fr π
π₯ Function/Subroutine Documentation π₯
π subroutine slarf (character side, integer m, integer n, real, dimension( * ) v, integer incv, real tau, real, dimension( ldc, * ) c, integer ldc, real, dimension( * ) work)
SLARF applies an elementary reflector to a general rectangular matrix. periodt. β¨
πΈ Purpose:
!>
!> SLARF applies a real elementary reflector H to a real m by n matrix
!> C, from either the left or the right. H is represented in the form
!>
!> H = I - tau * v * v**T
!>
!> where tau is a real scalar and v is a real vector.
!>
!> If tau = 0, then H is taken to be the unit matrix.
!>
so basically H is built from tau (a real scalar) and v (a real vector), and if tau = 0 then H just quietly becomes the unit matrix β no drama, no notes. π
π¦ Parameters
SIDEβSIDE is CHARACTER*1. it picks the side, obviously:
!> = 'L': form H * C
!> = 'R': form C * H
!>
MβM is INTEGER, and it's the number of rows of the matrixC. that's it, that's the whole job. π«ΆNβN is INTEGER, the number of columns of the matrixC. slay.VβV is REAL array, dimension:
!> (1 + (M-1)*abs(INCV)) if SIDE = 'L'
!> or (1 + (N-1)*abs(INCV)) if SIDE = 'R'
this is the vector v in the representation of H. important: V is not used if TAU = 0 β she's off duty in that case, respect it. π
INCVβINCV is INTEGER, the increment between elements ofv. andINCV <> 0β non-negotiable bestie, zero is not invited. βTAUβTAU is REAL, the valuetauin the representation of H. main character scalar energy. πCβC is REAL array, dimension(LDC,N).- On entry: the
mbynmatrixC. - On exit:
Cis overwritten by the matrixH * CifSIDE = 'L', orC * HifSIDE = 'R'.
- On entry: the
so yeah, she gets replaced. no cap, that's literally the point. π₯
LDCβLDC is INTEGER, the leading dimension of the arrayC. andLDC >= max(1,M)β gotta hold that line, fr fr. πWORKβWORK is REAL array, dimension:
!> (N) if SIDE = 'L'
!> or (M) if SIDE = 'R'
the lil scratchpad. give her the room she needs. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
look at that squad. genuinely obsessed. π«Άβ¨
π Definition at line 123 of file slarf.f.
(yeah, line 123 β cute number, no notes) π
β Author
Generated automatically by Doxygen for LAPACK from the source code. so like, a robot wrote this part, but we made it cute. π€π
π§ and that's the whole page bestie! no skipped sections, no missing options, we kept every single detail because that's the vibe check and we passed it. π β¨
okay bye, this was SRC/slarf.f(3) from LAPACK, Version 3.12.0 β catch you on the flip side! πΈπ¦π
π¦ 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