TESTING/EIG/sget31.f(3)
This is TESTING/EIG/sget31.f(3) from the Library Functions Manual β okay so welcome to the sget31 page, bestie, itβs giving very specific LAPACK testing energy and weβre here for it π
β¨
π NAME π
TESTING/EIG/sget31.f β yep, thatβs the file name, periodt π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine sget31 (rmax, lmax, ninfo, knt)βSGET31
π¦ Function/Subroutine Documentation π¦
subroutine sget31 (real rmax, integer lmax, integer, dimension( 2 ) ninfo,
integer knt)
SGET31
π― Purpose π―
SGET31 tests SLALN2, a routine for solving
(ca A - w D)X = sB
where A is an NA by NA matrix (NA=1 or 2 only), w is a real (NW=1) or complex (NW=2) constant, ca is a real constant, D is an NA by NA real diagonal matrix, and B is an NA by NW matrix (when NW=2 the second column of B contains the imaginary part of the solution). The code returns X and s, where s is a scale factor, less than or equal to 1, which is chosen to avoid overflow in X.
If any singular values of ca A-w D are less than another input parameter SMIN, they are perturbed up to SMIN.
The test condition is that the scaled residual
norm( (ca A-w D)*X - s*B ) /
( max( ulp*norm(ca A-w D), SMIN )*norm(X) )
should be on the order of 1. Here, ulp is the machine precision. Also, it is verified that SCALE is less than or equal to 1, and that XNORM = infinity-norm(X).
π Parameters π
RMAX
RMAX is REAL β value of the largest test ratio. π₯
LMAX
LMAX is INTEGER β example number where largest test ratio achieved.
NINFO
NINFO is INTEGER array, dimension (2):
NINFO(1)= number of examples withINFOless than 0NINFO(2)= number of examples withINFOgreater than 0
KNT
KNT is INTEGER β total number of examples tested. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 90 of file sget31.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie β source/version vibe check: LAPACK Version 3.12.0, and the page is TESTING/EIG/sget31.f(3). Slay, you made it to the end ππβ¨
π¦ 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