SORT03(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

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 β€” is CHARACTER*1. If RC = 'R' the rows of U and V are to be compared. If RC = 'C' the columns of U and V are to be compared.
  • MU β€” is INTEGER. The number of rows of U if RC = 'R', and the number of columns if RC = 'C'. If MU = 0 SORT03 does nothing. MU must be at least zero.
  • MV β€” is INTEGER. The number of rows of V if RC = 'R', and the number of columns if RC = 'C'. If MV = 0 SORT03 does nothing. MV must be at least zero.
  • N β€” is INTEGER. If RC = 'R', the number of columns in the matrices U and V, and if RC = 'C', the number of rows in U and V. If N = 0 SORT03 does nothing. N must be at least zero.
  • K β€” is INTEGER. The number of rows or columns of U and V to compare. 0 <= K <= max(MU,MV).
  • U β€” is REAL array, dimension (LDU,N). The first matrix to compare. If RC = 'R', U is MU by N, and if RC = 'C', U is N by MU.
  • LDU β€” is INTEGER. The leading dimension of U. If RC = 'R', LDU >= max(1,MU), and if RC = 'C', LDU >= max(1,N).
  • V β€” is REAL array, dimension (LDV,N). The second matrix to compare. If RC = 'R', V is MV by N, and if RC = 'C', V is N by MV.
  • LDV β€” is INTEGER. The leading dimension of V. If RC = 'R', LDV >= max(1,MV), and if RC = 'C', LDV >= max(1,N).
  • WORK β€” is REAL array, dimension (LWORK).
  • LWORK β€” is INTEGER. The length of the array WORK. For best performance, LWORK should be at least N*N if RC = 'C' or M*M if RC = 'R', but the tests will be done even if LWORK is 0.
  • RESULT β€” is REAL. The value computed by the test described above. RESULT is limited to 1/ulp to avoid overflow.
  • INFO β€” is INTEGER. 0 indicates a successful exit; -k indicates the k-th parameter had an illegal value.
bestie, illegal parameter energy is not it β€” -k means the k-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