SRC/zlacn2.f(3)
π NAME π
SRC/zlacn2.f β from the Library Functions Manual, bestie. This is the ZLACN2 page and itβs lowkey iconic. β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zlacn2 (n, v, x, est, kase, isave)
ZLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vector products. π
π«Ά Function/Subroutine Documentation π«Ά
subroutine zlacn2 (integer n, complex*16, dimension( * ) v, complex*16,
dimension( * ) x, double precision est, integer kase, integer,
dimension( 3 ) isave)
ZLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vector products. No cap.
πΈ Purpose πΈ
ZLACN2 estimates the 1-norm of a square, complex matrix A. Reverse communication is used for evaluating matrix-vector products. Periodt. π
π Parameters π
NβN is INTEGER. The order of the matrix.N >= 1.VβV is COMPLEX*16 array, dimension (N). On the final return,V = A*W, where EST = norm(V)/norm(W)(Wis not returned).XβX is COMPLEX*16 array, dimension (N). On an intermediate return,Xshould be overwritten by
A * X, if KASE=1,
A**H * X, if KASE=2,
where A**H is the conjugate transpose of A, and ZLACN2 must be re-called with all the other parameters unchanged.
ESTβEST is DOUBLE PRECISION. On entry withKASE = 1 or 2 and ISAVE(1) = 3,ESTshould be unchanged from the previous call toZLACN2. On exit,ESTis an estimate (a lower bound) fornorm(A).KASEβKASE is INTEGER. On the initial call toZLACN2,KASEshould be0. On an intermediate return,KASEwill be1or2, indicating whetherXshould be overwritten byA * XorA**H * X. On the final return fromZLACN2,KASEwill again be0.ISAVEβISAVE is INTEGER array, dimension (3).ISAVEis used to save variables between calls toZLACN2.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details π
- Originally named
CONEST, dated March 16, 1988. - Last modified: April, 1999.
- This is a thread safe version of
ZLACON, which uses the arrayISAVEin place of aSAVEstatement, as follows:
ZLACON ZLACN2
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 132 of file zlacn2.f.
Thatβs the whole page, bestie!! Footer vibe check: LAPACK, Version 3.12.0, source SRC/zlacn2.f(3) β generated automatically by Doxygen for LAPACK from the source code. πβ¨π
π¦ 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