SRC/dlanv2.f(3)

๐ŸŒธ NAME ๐ŸŒธ

okay so this is SRC/dlanv2.f(3) from the Library Functions Manual โ€” the page for SRC/dlanv2.f, aka the dlanv2 subroutine. ๐Ÿ’…

โœจ SYNOPSIS โœจ

๐Ÿ› ๏ธ Functions/Subroutines

  • dlanv2 โ€” DLANV2 computes the Schur factorization of a real 2-by-2 nonsymmetric matrix in standard form.
subroutine dlanv2 (a, b, c, d, rt1r, rt1i, rt2r, rt2i, cs, sn)

๐Ÿ’– Function/Subroutine Documentation ๐Ÿ’–

๐Ÿ“ž subroutine dlanv2

subroutine dlanv2 (double precision a, double precision b, double precision c, double precision d, double precision rt1r, double precision rt1i, double precision rt2r, double precision rt2i, double precision cs, double precision sn)

DLANV2 computes the Schur factorization of a real 2-by-2 nonsymmetric matrix in standard form. ๐Ÿซถ

๐ŸŽฏ Purpose

bestie, hereโ€™s the whole glow-up itโ€™s doing:

      [ A  B ] = [ CS -SN ] [ AA  BB ] [ CS  SN ]
      [ C  D ]   [ SN  CS ] [ CC  DD ] [-SN  CS ]

where either

  1. CC = 0 so that AA and DD are real eigenvalues of the matrix, or
  2. AA = DD and BB*CC < 0, so that AA + or - sqrt(BB*CC) are complex conjugate eigenvalues.

๐Ÿงฎ Parameters

  • A โ€” A is DOUBLE PRECISION. ๐ŸŒธ
  • B โ€” B is DOUBLE PRECISION. ๐Ÿฆ‹
  • C โ€” C is DOUBLE PRECISION. ๐ŸŽ€
  • D โ€” D is DOUBLE PRECISION. On entry, the elements of the input matrix. On exit, they are overwritten by the elements of the standardised Schur form. ๐Ÿ’ซ
  • RT1R โ€” RT1R is DOUBLE PRECISION. โญ
  • RT1I โ€” RT1I is DOUBLE PRECISION. ๐Ÿ’œ
  • RT2R โ€” RT2R is DOUBLE PRECISION. ๐ŸŒˆ
  • RT2I โ€” RT2I is DOUBLE PRECISION. The real and imaginary parts of the eigenvalues. If the eigenvalues are a complex conjugate pair, RT1I > 0. ๐Ÿ”ฅ
  • CS โ€” CS is DOUBLE PRECISION. ๐Ÿ‘‘
  • SN โ€” SN is DOUBLE PRECISION. Parameters of the rotation matrix. ๐Ÿ’…

๐Ÿ‘‘ Author

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

๐Ÿ” Further Details

Modified by V. Sima, Research Institute for Informatics, Bucharest, Romania, to reduce the risk of cancellation errors, when computing real eigenvalues, and to ensure, if possible, that abs(RT1R) >= abs(RT2R). ๐Ÿ˜ญโœจ

๐Ÿ“ Definition at line

Definition at line 126 of file dlanv2.f.

๐ŸŒˆ Author

Generated automatically by Doxygen for LAPACK from the source code.


okay bestie, thatโ€™s the whole page โ€” footer version/date stamp: LAPACK Version 3.12.0, source SRC/dlanv2.f(3). mwah ๐Ÿ’‹

๐Ÿ“ฆ where this page comes from