ZTREXC(3)
π ztrexc.f β Library Functions Manual πΈ
okay so this is the manpage for ztrexc.f, and it lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ztrexc.f β yes that's a whole entire path, she's long, she's giving "absolute path realness" π but that's literally the name section, no cap.
It's filed under Library Functions Manual and it's from the LAPACK fam π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZTREXC (compq, n, t, ldt, q, ldq, ifst, ilst, info)
ZTREXC
(that's it, that's the whole synopsis, she's minimal and iconic for it π )
π Function/Subroutine Documentation π
π¦ the actual signature, look at her:
subroutine ZTREXC (character compq, integer n, complex*16, dimension( ldt, * ) t, integer ldt, complex*16, dimension( ldq, * ) q, integer ldq, integer ifst, integer ilst, integer info)
ZTREXC β say it with me: zee-trex, she reorders stuff, she's the main character π
π Purpose:
okay so bestie, listen: ZTREXC reorders the Schur factorization of a complex matrix
A = Q*T*Q**H
so that the diagonal element of T with row index IFST is moved to row ILST. literally just a little relocation situation, no biggie β¨
The Schur form T is reordered by a unitary similarity transformation Z**H*T*Z, and optionally the matrix Q of Schur vectors gets updated by postmultiplying it with Z. obsessed with the "optionally" π«Ά
π Parameters
COMPQβ isCHARACTER*1. the vibe check for whether we touchQor not:= 'V': update the matrix Q of Schur vectors;β yes queen, update her π= 'N': do not update Q.β hands off, leave her alone π
Nβ isINTEGER, the order of the matrixT. it must beN >= 0. also, ifN == 0the argumentsILSTandIFSTmay be any value β like, anything, they don't even matter πTβ isCOMPLEX*16 array, dimension (LDT,N). On entry: the upper triangular matrixT. On exit: the reordered upper triangular matrix. she goes in triangular, she comes out reordered, that's the whole glow-up βLDTβ isINTEGER, the leading dimension of the arrayT. must beLDT >= max(1,N). don't skip this bestie,max(1,N)fr fr πQβ isCOMPLEX*16 array, dimension (LDQ,N). On entry: ifCOMPQ = 'V', the matrixQof Schur vectors. On exit: ifCOMPQ = 'V',Qhas been postmultiplied by the unitary transformation matrixZwhich reordersT. IfCOMPQ = 'N',Qis not referenced β she said don't perceive her πLDQβ isINTEGER, the leading dimension of the arrayQ.LDQ >= 1, and ifCOMPQ = 'V', thenLDQ >= max(1,N). conditional queen πIFSTβ isINTEGER. that's it. that's the whole description. she's mysterious πΈILSTβ isINTEGER. alongside her sister, they specify the reordering of the diagonal elements ofT:- The element with row index
IFSTis moved to rowILSTby a sequence of transpositions between adjacent elements β adjacent only!! she's a swapper, not a teleporter π¦ 1 <= IFST <= N; 1 <= ILST <= N.β respect the bounds or she'll be upset π
- The element with row index
INFOβ isINTEGER, the exit-status receipts π¬= 0: successful exitβ slay π< 0: if INFO = -i, the i-th argument had an illegal valueβ somebody misbehaved, andINFOwill tell you exactly who π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
(the whole academic + lab squad, we stan a collaborative effort π«Ά)
Definition at line 125 of file ztrexc.f. β line one-two-five, mark it π
π Author (yes, again)
Generated automatically by Doxygen for LAPACK from the source code. β not a human, a robot did this, and honestly? she ate π€β¨
and that's the whole page bestie, every flag, every bound, every max(1,N) π
LAPACK β Version 3.12.0 β signed, sealed, delivered at /home/abui...RC/ztrexc.f(3), xoxo π
π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms