SRC/zlangt.f(3)
π NAME
okay so welcome to SRC/zlangt.f(3), bestie β this page lives in the Library Functions Manual, and the main character is zlangt. π
π¦ SYNOPSIS
double precision function zlangt (norm, n, dl, d, du)β ZLANGT returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general tridiagonal matrix.
β¨ Function/Subroutine Documentation
double precision function zlangt (character norm, integer n, complex*16,
dimension( * ) dl, complex*16, dimension( * ) d, complex*16, dimension(
* ) du)
The official one-liner is literally: ZLANGT returns the value of the 1-norm, Frobenius norm, infinity-norm, or the largest absolute value of any element of a general tridiagonal matrix. periodt β¨
π Purpose
ZLANGT returns the value of the one norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a complex tridiagonal matrix A. iykyk π
πΈ Returns
The function gives you back ZLANGT, and here's the exact mapping, no cap:
ZLANGT = ( max(abs(A(i,j))), NORM = 'M' or 'm'
(
( norm1(A), NORM = '1', 'O' or 'o'
(
( normI(A), NORM = 'I' or 'i'
(
( normF(A), NORM = 'F', 'f', 'E' or 'e'
where norm1 denotes the one norm of a matrix (maximum column sum),
normI denotes the infinity norm of a matrix (maximum row sum) and
normF denotes the Frobenius norm of a matrix (square root of sum of
squares). Note that max(abs(A(i,j))) is not a consistent matrix norm.
not me pointing out that max(abs(A(i,j))) is not a consistent matrix norm β that's straight from the source, bestie π
π§ Parameters
π NORM
NORM is CHARACTER*1 and specifies the value to be returned in ZLANGT as described above. vibe check passed π«Ά
π N
N is INTEGER: the order of the matrix A. N >= 0. When N = 0, ZLANGT is set to zero. zero case handled, slay β¨
π DL
DL is COMPLEX*16 array, dimension (N-1) β the (n-1) sub-diagonal elements of A. π¦
π D
D is COMPLEX*16 array, dimension (N) β the diagonal elements of A. πΈ
π DU
DU is COMPLEX*16 array, dimension (N-1) β the (n-1) super-diagonal elements of A. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 105 of file zlangt.f. π
π Author
Generated automatically by Doxygen for LAPACK from the source code. π»β¨
made with π from SRC/zlangt.f(3) β’ LAPACK Version 3.12.0 β’ the footer doesnβt show a separate date, so thatβs the whole timestamp tea βπ
π¦ 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