SRC/cla_syrpvgrw.f(3)
β¨ NAME β¨
okay so this page is SRC/cla_syrpvgrw.f(3) from the LAPACK Library Functions Manual, bestie. Itβs giving βtiny but important linear algebra helper,β and weβre gonna understand it together π
πΈ SYNOPSIS πΈ
Functions/Subroutines
real function cla_syrpvgrw (uplo, n, info, a, lda, af, ldaf, ipiv, work)βCLA_SYRPVGRWcomputes the reciprocal pivot growth factornorm(A)/norm(U)for a symmetric indefinite matrix. β¨
π Function/Subroutine Documentation π
real function cla_syrpvgrw (character*1 uplo, integer n, integer info,
complex, dimension( lda, * ) a, integer lda, complex, dimension( ldaf, *
) af, integer ldaf, integer, dimension( * ) ipiv, real, dimension( * )
work)
CLA_SYRPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U) for a symmetric indefinite matrix. No cap, thatβs the whole glow-up of this routine. π
π― Purpose
Okay so hereβs the tea: CLA_SYRPVGRW computes the reciprocal pivot growth factor norm(A)/norm(U). The source literally says The norm is used β double space included, bestie, Iβm not editing the facts π.
If that thing is much less than 1, the stability of the LU factorization of the (equilibrated) matrix A could be poor π. That also means the solution X, estimated condition numbers, and error bounds could be unreliable. So yeah, this is one of those βpay attention to the ratioβ situations. π₯
π§Ύ Parameters
UPLO
UPLO is CHARACTER*1:
= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
Pick your triangle, bestie π
N
N is INTEGER.
The number of linear equations, i.e., the order of the matrix A. N >= 0. πΈ
INFO
INFO is INTEGER.
The value of INFO returned from CSYTRF, .i.e., the pivot in column INFO is exactly 0. Yes, thatβs the exact .i.e. spelling from the page β we keep the lore intact. π
A
A is COMPLEX array, dimension (LDA,N).
On entry, the N-by-N matrix A. β¨
LDA
LDA is INTEGER.
The leading dimension of the array A. LDA >= max(1,N). π
AF
AF is COMPLEX array, dimension (LDAF,N).
The block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CSYTRF. π«Ά
LDAF
LDAF is INTEGER.
The leading dimension of the array AF. LDAF >= max(1,N). π
IPIV
IPIV is INTEGER array, dimension (N).
Details of the interchanges and the block structure of D as determined by CSYTRF. π₯
WORK
WORK is REAL array, dimension (2*N). π
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Definition at line 121 of file cla_syrpvgrw.f.
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole page, bestie β LAPACK Version 3.12.0, SRC/cla_syrpvgrw.f(3), mwah ππβ¨
π¦ 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