SRC/clacn2.f(3)
π SRC/clacn2.f(3) π
okay bestie, this page comes from the Library Functions Manual, and itβs literally the clacn2 subroutineβs whole personality. Weβre keeping every detail, no cap. π«Ά
πΈ NAME πΈ
SRC/clacn2.f β the file that serves up clacn2, the 1-norm estimator with reverse-communication main-character energy. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine clacn2 (n, v, x, est, kase, isave)β CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vector products.
π«Ά Function/Subroutine Documentation π«Ά
subroutine clacn2 (integer n, complex, dimension( * ) v, complex, dimension(
* ) x, real est, integer kase, integer, dimension( 3 ) isave)
CLACN2 estimates the 1-norm of a square matrix, using reverse communication for evaluating matrix-vector products. Thatβs the headline, and itβs giving exactly what it needs to give. β¨
π― Purpose
CLACN2 estimates the 1-norm of a square, complex matrix A. Reverse communication is used for evaluating matrix-vector products. Thatβs the whole assignment, and it ate. π
π§Έ Parameters
NβNisINTEGER. The order of the matrix.N >= 1. πVβVisCOMPLEX array, dimension (N). On the final return,V = A*W, whereEST = norm(V)/norm(W)(Wis not returned). Sheβs not returned, bestie. πXβXisCOMPLEX array, dimension (N). On an intermediate return,Xshould be overwritten by:A * X, ifKASE=1,A**H * X, ifKASE=2, whereA**His the conjugate transpose ofA, andCLACN2must be re-called with all the other parameters unchanged. π
ESTβESTisREAL. On entry withKASE = 1or2andISAVE(1) = 3,ESTshould be unchanged from the previous call toCLACN2. On exit,ESTis an estimate (a lower bound) fornorm(A). Lower bound, not a delusion. πKASEβKASEisINTEGER. On the initial call toCLACN2,KASEshould be0. On an intermediate return,KASEwill be1or2, indicating whetherXshould be overwritten byA * XorA**H * X. On the final return fromCLACN2,KASEwill again be0. The reverse-communication baton pass, periodt. πββοΈISAVEβISAVEisINTEGER array, dimension (3).ISAVEis used to save variables between calls toSLACN2. π«Ά
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details
- Originally named
CONEST, datedMarch 16, 1988. - Last modified:
April, 1999. - This is a thread safe version of
CLACON, which uses the arrayISAVEin place of aSAVEstatement, as follows:
CLACON CLACN2
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 clacn2.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
π Thatβs the whole page, bestie. Footer sign-off: LAPACK Version 3.12.0, source SRC/clacn2.f(3). The footer doesnβt list a date, so Iβm not inventing one β just sending version + source with love. Bye! π
β¨
π¦ 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