SORT03(3)
SORT03(3) β Library Functions Manual π¦
okay bestie, welcome to SORT03(3) in the Library Functions Manual. This is the whole vibe: a LAPACK test routine that checks whether two orthogonal matrices are lowkey giving the same row/column spaces. Letβs get into it π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/EIG/sort03.f
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
subroutine SORT03 (rc, mu, mv, n, k, u, ldu, v, ldv, work, lwork,
result, info)
SORT03
π Function/Subroutine Documentation π
subroutine SORT03 (character*( * ) rc, integer mu, integer mv, integer n,
integer k, real, dimension( ldu, * ) u, integer ldu, real, dimension(
ldv, * ) v, integer ldv, real, dimension( * ) work, integer lwork, real
result, integer info)
SORT03
π Purpose π
SORT03 compares two orthogonal matrices U and V to see if their corresponding rows or columns span the same spaces. The rows are checked if RC = 'R', and the columns are checked if RC = 'C'.
RESULT is the maximum of:
| V*V' - I | / ( MV ulp ), if RC = 'R', or
| V'*V - I | / ( MV ulp ), if RC = 'C',
and the maximum over rows (or columns) 1 to K of:
| U(i) - S*V(i) |/ ( N ulp )
where S is +-1 (chosen to minimize the expression), U(i) is the i-th row (column) of U, and V(i) is the i-th row (column) of V.
π Parameters π
RCβ isCHARACTER*1. IfRC = 'R'the rows ofUandVare to be compared. IfRC = 'C'the columns ofUandVare to be compared.MUβ isINTEGER. The number of rows ofUifRC = 'R', and the number of columns ifRC = 'C'. IfMU = 0SORT03 does nothing.MUmust be at least zero.MVβ isINTEGER. The number of rows ofVifRC = 'R', and the number of columns ifRC = 'C'. IfMV = 0SORT03 does nothing.MVmust be at least zero.Nβ isINTEGER. IfRC = 'R', the number of columns in the matricesUandV, and ifRC = 'C', the number of rows inUandV. IfN = 0SORT03 does nothing.Nmust be at least zero.Kβ isINTEGER. The number of rows or columns ofUandVto compare.0 <= K <= max(MU,MV).Uβ isREALarray, dimension(LDU,N). The first matrix to compare. IfRC = 'R',UisMUbyN, and ifRC = 'C',UisNbyMU.LDUβ isINTEGER. The leading dimension ofU. IfRC = 'R',LDU >= max(1,MU), and ifRC = 'C',LDU >= max(1,N).Vβ isREALarray, dimension(LDV,N). The second matrix to compare. IfRC = 'R',VisMVbyN, and ifRC = 'C',VisNbyMV.LDVβ isINTEGER. The leading dimension ofV. IfRC = 'R',LDV >= max(1,MV), and ifRC = 'C',LDV >= max(1,N).WORKβ isREALarray, dimension(LWORK).LWORKβ isINTEGER. The length of the arrayWORK. For best performance,LWORKshould be at leastN*NifRC = 'C'orM*MifRC = 'R', but the tests will be done even ifLWORKis0.RESULTβ isREAL. The value computed by the test described above.RESULTis limited to1/ulpto avoid overflow.INFOβ isINTEGER.0indicates a successful exit;-kindicates thek-th parameter had an illegal value.
bestie, illegal parameter energy is not it β-kmeans thek-th parameter had an illegal value π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 154 of file sort03.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off, bestie: this page is LAPACK Version 3.12.0, and its footer points to /home/abui...IG/sort03.f(3). The date slot is literally not printed on this one β mwah π
π¦ 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