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