SRC/slaexc.f(3)
hey bestie, welcome to SRC/slaexc.f(3) from the Library Functions Manual π
this page is giving LAPACK subroutine energy, and the subroutine is slaexc.
β¨ NAME β¨
SRC/slaexc.f β the file/page name, periodt. Itβs the docs for slaexc, which swaps adjacent diagonal blocks of a real upper quasi-triangular matrix in Schur canonical form, by an orthogonal similarity transformation. π¦
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine slaexc (wantq, n, t, ldt, q, ldq, j1, n1, n2, work, info)
SLAEXC swaps adjacent diagonal blocks of a real upper quasi-triangular matrix in Schur canonical form, by an orthogonal similarity transformation. β¨
β¨ Function/Subroutine Documentation β¨
subroutine slaexc (logical wantq, integer n, real, dimension( ldt, * ) t,
integer ldt, real, dimension( ldq, * ) q, integer ldq, integer j1,
integer n1, integer n2, real, dimension( * ) work, integer info)
SLAEXC swaps adjacent diagonal blocks of a real upper quasi-triangular matrix in Schur canonical form, by an orthogonal similarity transformation.
Purpose: β¨
okay so the purpose is literally this: SLAEXC swaps adjacent diagonal blocks T11 and T22 of order 1 or 2 in an upper quasi-triangular matrix T by an orthogonal similarity transformation. π₯
T must be in Schur canonical form, that is, block upper triangular with 1-by-1 and 2-by-2 diagonal blocks; each 2-by-2 diagonal block has its diagonal elements equal and its off-diagonal elements of opposite sign. No cap, thatβs the rule. π
Parameters
WANTQβWANTQisLOGICAL;= .TRUE. :accumulate the transformation in the matrixQ;= .FALSE.:do not accumulate the transformation. πNβNisINTEGER; the order of the matrixT.N >= 0.TβTisREAL array, dimension (LDT,N); On entry, the upper quasi-triangular matrixT, in Schur canonical form. On exit, the updated matrixT, again in Schur canonical form. πLDTβLDTisINTEGER; the leading dimension of the arrayT.LDT >= max(1,N).QβQisREAL array, dimension (LDQ,N); On entry, ifWANTQis.TRUE., the orthogonal matrixQ. On exit, ifWANTQis.TRUE., the updated matrixQ. IfWANTQis.FALSE.,Qis not referenced. πΈLDQβLDQisINTEGER; the leading dimension of the arrayQ.LDQ >= 1; and ifWANTQis.TRUE.,LDQ >= N.J1βJ1isINTEGER; the index of the first row of the first blockT11.N1βN1isINTEGER; the order of the first blockT11.N1 = 0, 1 or 2.N2βN2isINTEGER; the order of the second blockT22.N2 = 0, 1 or 2. π¦WORKβWORKisREAL array, dimension (N).INFOβINFOisINTEGER;= 0:successful exit;= 1:the transformed matrixTwould be too far from Schur form; the blocks are not swapped andTandQare unchanged. π
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 136 of file slaexc.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie β the sign-off vibes are LAPACK Version 3.12.0 and page SRC/slaexc.f(3), with no date printed, iykyk π«Άβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms