TESTING/EIG/cget51.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’– NAME πŸ’–

okay bestie, welcome to the TESTING/EIG/cget51.f(3) page from the Library Functions Manual β€” this is the CGET51 subroutine and she is here to vibe-check a matrix decomposition. πŸ’…

TESTING/EIG/cget51.f


✨ SYNOPSIS ✨

Functions/Subroutines

subroutine cget51 (itype, n, a, lda, b, ldb, u, ldu, v, ldv, work, rwork, result)

CGET51


🫢 Function/Subroutine Documentation 🫢

here's the full signature, copied exactly because we do not play with types around here:

subroutine cget51 (integer itype, integer n, complex, dimension( lda, * ) a,
    integer lda, complex, dimension( ldb, * ) b, integer ldb, complex,
    dimension( ldu, * ) u, integer ldu, complex, dimension( ldv, * ) v,
    integer ldv, complex, dimension( * ) work, real, dimension( * ) rwork,
    real result)

CGET51

🎯 Purpose 🎯

CGET51 generally checks a decomposition of the form

A = U B V**H

where **H means conjugate transpose and U and V are unitary.

Specifically, if ITYPE=1

RESULT = | A - U B V**H | / ( |A| n ulp )

If ITYPE=2, then:

RESULT = | A - B | / ( |A| n ulp )

If ITYPE=3, then:

RESULT = | I - U U**H | / ( n ulp )

🌸 Parameters 🌸

  • ITYPE β€” INTEGER. Specifies the type of tests to be performed.
    • =1: RESULT = | A - U B V**H | / ( |A| n ulp )
    • =2: RESULT = | A - B | / ( |A| n ulp )
    • =3: RESULT = | I - U U**H | / ( n ulp )
  • N β€” INTEGER. The size of the matrix. If it is zero, CGET51 does nothing. It must be at least zero.
  • A β€” COMPLEX array, dimension (LDA, N). The original (unfactored) matrix.
  • LDA β€” INTEGER. The leading dimension of A. It must be at least 1 and at least N.
  • B β€” COMPLEX array, dimension (LDB, N). The factored matrix.
  • LDB β€” INTEGER. The leading dimension of B. It must be at least 1 and at least N.
  • U β€” COMPLEX array, dimension (LDU, N). The unitary matrix on the left-hand side in the decomposition. Not referenced if ITYPE=2.
  • LDU β€” INTEGER. The leading dimension of U. LDU must be at least N and at least 1.
  • V β€” COMPLEX array, dimension (LDV, N). The unitary matrix on the left-hand side in the decomposition. Not referenced if ITYPE=2.
  • LDV β€” INTEGER. The leading dimension of V. LDV must be at least N and at least 1.
  • WORK β€” COMPLEX array, dimension (2*N**2).
  • RWORK β€” REAL array, dimension (N).
  • RESULT β€” REAL. The values computed by the test specified by ITYPE. The value is currently limited to 1/ulp, to avoid overflow. Errors are flagged by RESULT=10/ulp.

πŸ‘‘ Author πŸ‘‘

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

🧚 Definition 🧚

Definition at line 153 of file cget51.f.

πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code.


alright bestie, that's the whole page. footer vibes: LAPACK Version 3.12.0, page TESTING/EIG/cget51.f(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from