SRC/dlacn2.f(3)
π¦ SRC/dlacn2.f(3) π¦
okay so bestie, welcome to the Library Functions Manual page for SRC/dlacn2.f(3) β it's literally the dlacn2 subroutine being its main-character self, and we're gonna get into every parameter, every return, every little thread-safety note. no cap. π
π NAME π
SRC/dlacn2.f
β¨ SYNOPSIS β¨
π« Functions/Subroutines π«
subroutine dlacn2 (n, v, x, isgn, est, kase, isave)β DLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vector products.
π Function/Subroutine Documentation π
πΈ subroutine dlacn2 πΈ
subroutine dlacn2 (integer n, double precision, dimension( * ) v, double
precision, dimension( * ) x, integer, dimension( * ) isgn, double
precision est, integer kase, integer, dimension( 3 ) isave)
DLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vector products.
β¨ Purpose β¨
DLACN2 estimates the 1-norm of a square, real matrix A. Reverse communication is used for evaluating matrix-vector products. π«Ά
π§Έ Parameters π§Έ
Nβ isINTEGER; it's the order of the matrix, andN >= 1. πVβ is aDOUBLE PRECISIONarray, dimension(N). On the final return,V = A*W, whereEST = norm(V)/norm(W)(Wis not returned). β¨Xβ is aDOUBLE PRECISIONarray, dimension(N). On an intermediate return,Xshould be overwritten byA * X, ifKASE=1, or byA**T * X, ifKASE=2, and DLACN2 must be re-called with all the other parameters unchanged. π₯ISGNβ is anINTEGERarray, dimension(N). π¦ESTβ isDOUBLE PRECISION. On entry withKASE = 1or2andISAVE(1) = 3,ESTshould be unchanged from the previous call to DLACN2. On exit,ESTis an estimate (a lower bound) fornorm(A). πKASEβ isINTEGER. On the initial call to DLACN2,KASEshould be0. On an intermediate return,KASEwill be1or2, indicating whetherXshould be overwritten byA * XorA**T * X. On the final return from DLACN2,KASEwill again be0. πISAVEβ is anINTEGERarray, dimension(3).ISAVEis used to save variables between calls to DLACN2. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details π
Originally named SONEST, dated March 16, 1988.
This is a thread safe version of DLACON, which uses the array ISAVE in place of a SAVE statement, as follows:
DLACON DLACN2
JUMP ISAVE(1)
J ISAVE(2)
ITER ISAVE(3)
π Contributors π
Nick Higham, University of Manchester
π References π
N.J. Higham, "FORTRAN codes for estimating the one-norm of a real or complex matrix, with applications to condition estimation", ACM Trans. Math. Soft., vol. 14, no. 4, pp. 381-396, December 1988.
Definition at line 135 of file dlacn2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
β¨ okay bestie, that's the whole page β LAPACK Version 3.12.0, SRC/dlacn2.f(3), and yes it's the Library Functions Manual cutie. periodt. π
π¦ 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