SRC/ddisna.f(3)

πŸ¦‹ SRC/ddisna.f(3) β€” LAPACK Library Functions Manual πŸ¦‹

🌸 NAME 🌸

SRC/ddisna.f

✨ SYNOPSIS ✨

🧚 Functions/Subroutines

  • subroutine ddisna (job, m, n, d, sep, info) β€” DDISNA

πŸ’… Function/Subroutine Documentation πŸ’…

subroutine ddisna (character job, integer m, integer n, double precision, dimension( * ) d, double precision, dimension( * ) sep, integer info)

DDISNA β€” okay bestie, this is the whole subroutine.

πŸŽ€ Purpose πŸŽ€

So DDISNA computes the reciprocal condition numbers for the eigenvectors of a real symmetric or complex Hermitian matrix, or for the left or right singular vectors of a general m-by-n matrix. The reciprocal condition number is literally the β€œgap” between the corresponding eigenvalue or singular value and the nearest other one. Slay.

The error bound for the I-th computed vector, measured by angle in radians, is:

DLAMCH( 'E' ) * ( ANORM / SEP( I ) )

...where ANORM = 2-norm(A) = max( abs( D(j) ) ). Caveat time: SEP(I) is not allowed to be smaller than DLAMCH( 'E' )*ANORM β€” that’s the rule that limits the size of the error bound. Not me explaining bounds with main character energy 😭.

DDISNA may also be used to compute error bounds for eigenvectors of the generalized symmetric definite eigenproblem. Obsessed.

🌈 Parameters 🌈

  • JOB β€” CHARACTER*1. Tells you which problem the reciprocal condition numbers are for: = 'E': the eigenvectors of a symmetric/Hermitian matrix; = 'L': the left singular vectors of a general matrix; = 'R': the right singular vectors of a general matrix.
  • M β€” INTEGER. The number of rows of the matrix. M >= 0.
  • N β€” INTEGER. If JOB = 'L' or 'R', the number of columns of the matrix, in which case N >= 0. Ignored if JOB = 'E'.
  • D β€” DOUBLE PRECISION array, dimension (M) if JOB = 'E', dimension (min(M,N)) if JOB = 'L' or 'R'. The eigenvalues (if JOB = 'E') or singular values (if JOB = 'L' or 'R') of the matrix, in either increasing or decreasing order. If singular values, they must be non-negative.
  • SEP β€” DOUBLE PRECISION array, dimension (M) if JOB = 'E', dimension (min(M,N)) if JOB = 'L' or 'R'. The reciprocal condition numbers of the vectors.
  • INFO β€” INTEGER. = 0: successful exit. < 0: if INFO = -i, the i-th argument had an illegal value.

🫢 Author 🫢

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 116 of file ddisna.f.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


Sign-off: this whole page is serving LAPACK Version 3.12.0, SRC/ddisna.f(3) β€” πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from