SRC/slaic1.f(3)
β¨ SRC/slaic1.f(3) β¨
(Library Functions Manual, bestie β we're in the LAPACK math corner and it's giving incremental condition estimation π )
πΈ NAME πΈ
SRC/slaic1.f β the page for the slaic1 subroutine, the little routine with big singular-value energy.
π« SYNOPSIS π«
Functions/Subroutines
subroutine slaic1 (job, j, x, sest, w, gamma, sestpr, s, c)βSLAIC1 applies one step of incremental condition estimation.
Full signature, exactly:
subroutine slaic1 (integer job, integer j, real, dimension( j ) x, real
sest, real, dimension( j ) w, real gamma, real sestpr, real s, real c)
π Function/Subroutine Documentation π
subroutine slaic1 (integer job, integer j, real, dimension( j ) x, real
sest, real, dimension( j ) w, real gamma, real sestpr, real s, real c)
SLAIC1 applies one step of incremental condition estimation.
Purpose
Okay bestie, here's the whole vibe: SLAIC1 applies one step of incremental condition estimation in its simplest version:
Let x, with twonorm(x) = 1, be an approximate singular vector of an j-by-j lower triangular matrix L, such that
twonorm(L*x) = sest
Then SLAIC1 computes sestpr, s, c such that the vector
[ s*x ]
xhat = [ c ]
is an approximate singular vector of
[ L 0 ]
Lhat = [ w**T gamma ]
in the sense that
twonorm(Lhat*xhat) = sestpr.
Depending on JOB, an estimate for the largest or smallest singular value is computed.
Note that [s c]**T and sestpr**2 is an eigenpair of the system
diag(sest*sest, 0) + [alpha gamma] * [ alpha ]
[ gamma ]
where alpha = x**T*w.
Parameters
JOBβJOB is INTEGER;= 1: an estimate for the largest singular value is computed;= 2: an estimate for the smallest singular value is computed.JβJ is INTEGER; length ofXandW.XβX is REAL array, dimension (J); thej-vectorx.SESTβSEST is REAL; estimated singular value ofjbyjmatrixL.WβW is REAL array, dimension (J); thej-vectorw.GAMMAβGAMMA is REAL; the diagonal elementgamma.SESTPRβSESTPR is REAL; estimated singular value of(j+1)by(j+1)matrixLhat.SβS is REAL; sine needed in formingxhat.CβC is REAL; cosine needed in formingxhat.
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file slaic1.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie. Sign-off: LAPACK Version 3.12.0, page SRC/slaic1.f(3). Stay slay and numerically stable. π
π¦ 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