SRC/clarfg.f(3)
πΈ SRC/clarfg.f(3) πΈ
okay bestie, welcome to the Library Functions Manual page for SRC/clarfg.f β yes it's a Fortran moment and it's lowkey iconic. Let's get into it π
π NAME π
SRC/clarfg.f
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines
subroutine clarfg (n, alpha, x, incx, tau)βCLARFGgenerates an elementary reflector (Householder matrix).
π Function/Subroutine Documentation π
π subroutine clarfg (integer n, complex alpha, complex, dimension( * ) x, integer incx, complex tau)
CLARFG generates an elementary reflector (Householder matrix).
π₯ Purpose:
okay so CLARFG generates a complex elementary reflector H of order n, such that:
H**H * ( alpha ) = ( beta ), H**H * H = I.
( x ) ( 0 )
where alpha and beta are scalars, with beta real, and x is an (n-1)-element complex vector. H is represented in the form:
H = I - tau * ( 1 ) * ( 1 v**H ) ,
( v )
where tau is a complex scalar and v is a complex (n-1)-element vector. Note that H is not hermitian.
If the elements of x are all zero and alpha is real, then tau = 0 and H is taken to be the unit matrix.
Otherwise 1 <= real(tau) <= 2 and abs(tau-1) <= 1.
π Parameters
NβN is INTEGER. The order of the elementary reflector.ALPHAβALPHA is COMPLEX. On entry, the valuealpha. On exit, it is overwritten with the valuebeta.XβX is COMPLEX array, dimension (1+(N-2)*abs(INCX)). On entry, the vectorx. On exit, it is overwritten with the vectorv.INCXβINCX is INTEGER. The increment between elements ofX.INCX > 0.TAUβTAU is COMPLEX. The valuetau.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 105 of file clarfg.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page π it's from LAPACK, Version 3.12.0, and the page is SRC/clarfg.f(3). slay β¨
π¦ 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