/home/abui.../sqrt01p.f(3)

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

🌸 NAME 🌸

Okay so bestie, this page is for /home/abui.../sqrt01p.f(3) β€” and the manual name is Library Functions Manual. The name itself is this entire absolute path:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sqrt01p.f

It’s giving β€œfull path realness,” no cap.


✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines πŸŽ€

subroutine SQRT01P (m, n, a, af, q, r, lda, tau, work, lwork, rwork,
    result)
    SQRT01P

πŸ’– Function/Subroutine Documentation πŸ’–

subroutine SQRT01P (integer m, integer n, real, dimension( lda, * ) a, real,
    dimension( lda, * ) af, real, dimension( lda, * ) q, real, dimension(
    lda, * ) r, integer lda, real, dimension( * ) tau, real, dimension(
    lwork ) work, integer lwork, real, dimension( * ) rwork, real,
    dimension( * ) result)
    SQRT01P

πŸ¦‹ Purpose πŸ¦‹

It’s literally in Fortran comment markers, so here they are, preserved exactly:

!>
!> SQRT01P tests SGEQRFP, which computes the QR factorization of an m-by-n
!> matrix A, and partially tests SORGQR which forms the m-by-m
!> orthogonal matrix Q.
!>
!> SQRT01P compares R with Q'*A, and checks that Q is orthogonal.
!>

πŸŽ€ Parameters πŸŽ€

  • M β€” M is INTEGER. It’s the number of rows of the matrix A. Condition: M >= 0. Periodt.
  • N β€” N is INTEGER. It’s the number of columns of the matrix A. Condition: N >= 0. Slay.
  • A β€” A is REAL array, dimension (LDA,N). This is the m-by-n matrix A.
  • AF β€” AF is REAL array, dimension (LDA,N). It holds details of the QR factorization of A, as returned by SGEQRFP. See SGEQRFP for further details.
  • Q β€” Q is REAL array, dimension (LDA,M). This is the m-by-m orthogonal matrix Q.
  • R β€” R is REAL array, dimension (LDA,max(M,N)).
  • LDA β€” LDA is INTEGER. It’s the leading dimension of the arrays A, AF, Q and R. Condition: LDA >= max(M,N). Don’t fumble that one, bestie.
  • TAU β€” TAU is REAL array, dimension (min(M,N)). These are the scalar factors of the elementary reflectors, as returned by SGEQRFP.
  • WORK β€” WORK is REAL array, dimension (LWORK).
  • LWORK β€” LWORK is INTEGER. It’s the dimension of the array WORK.
  • RWORK β€” RWORK is REAL array, dimension (M).
  • RESULT β€” RESULT is REAL array, dimension (2). These are the test ratios:
    • RESULT(1) = norm( R - Q'*A ) / ( M * norm(A) * EPS )
    • RESULT(2) = norm( I - Q'*Q ) / ( M * EPS )
This is the part where the function is basically doing a vibe check on Q and R. It compares R with Q'*A, and checks that Q is orthogonal. Iconic behavior, honestly.

πŸ’œ Author πŸ’œ

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

Definition at line 124 of file sqrt01p.f.


🌈 Author 🌈

Generated automatically by Doxygen for LAPACK from the source code.


xoxo, your LAPACK bestie πŸ’…βœ¨ β€” LAPACK Version 3.12.0 β€” /home/abui.../sqrt01p.f(3) πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from