SRC/sorgr2.f(3)

πŸ’– SRC/sorgr2.f(3) πŸ’–

okay bestie, welcome to the Library Functions Manual entry for SRC/sorgr2.f(3) β€” this is the LAPACK page for sorgr2, and it's giving "unblocked RQ factorization but make it orthogonal." No cap, we're gonna walk through every parameter and constraint. 🫢


🌸 NAME 🌸

SRC/sorgr2.f β€” that's the file name, and the function inside is sorgr2. Short name section, iconic behavior. πŸ’…

✨ SYNOPSIS ✨

🧚 Functions/Subroutines 🧚

  • subroutine sorgr2 (m, n, k, a, lda, tau, work, info) β€” SORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm).

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

subroutine sorgr2 (integer m, integer n, integer k, real, dimension( lda, *
) a, integer lda, real, dimension( * ) tau, real, dimension( * ) work,
integer info)

SORGR2 generates all or part of the orthogonal matrix Q from an RQ factorization determined by sgerqf (unblocked algorithm). πŸ’–

🎯 Purpose 🎯

SORGR2 generates an m by n real matrix Q with orthonormal rows, which is defined as the last m rows of a product of k elementary reflectors of order n:

Q  =  H(1) H(2) . . . H(k)

as returned by SGERQF. ✨

🌈 Parameters 🌈

  • M β€” M is INTEGER. The number of rows of the matrix Q. Constraint: M >= 0. πŸ’œ
  • N β€” N is INTEGER. The number of columns of the matrix Q. Constraint: N >= M. πŸ¦‹
  • K β€” K is INTEGER. The number of elementary reflectors whose product defines the matrix Q. Constraint: M >= K >= 0. 🌟
  • A β€” A is REAL array, dimension (LDA,N). On entry, the (m-k+i)-th row must contain the vector which defines the elementary reflector H(i), for i = 1,2,...,k, as returned by SGERQF in the last k rows of its array argument A. On exit, the m by n matrix Q. 🫢
  • LDA β€” LDA is INTEGER. The first dimension of the array A. Constraint: LDA >= max(1,M). πŸ’…
  • TAU β€” TAU is REAL array, dimension (K). TAU(i) must contain the scalar factor of the elementary reflector H(i), as returned by SGERQF. πŸŽ€
  • WORK β€” WORK is REAL array, dimension (M). πŸ“
  • INFO β€” INFO is INTEGER. = 0: successful exit. < 0: if INFO = -i, the i-th argument has an illegal value. πŸ’€

πŸ’– Author πŸ’–

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

πŸ“Œ Definition at line 113 of file sorgr2.f.

🌟 Author 🌟

Generated automatically by Doxygen for LAPACK from the source code.


byeee bestie, official sign-off: LAPACK Version 3.12.0, source SRC/sorgr2.f(3) πŸ’‹βœ¨πŸ¦‹

πŸ“¦ where this page comes from