orghr#
Functions
-
void sorghr(const INT n, const INT ilo, const INT ihi, f32 *A, const INT lda, const f32 *tau, f32 *work, const INT lwork, INT *info)#
SORGHR generates a real orthogonal matrix Q which is defined as the product of ihi-ilo elementary reflectors of order N, as returned by SGEHRD:
Q = H(ilo) H(ilo+1) … H(ihi-1).
Parameters
innThe order of the matrix Q. n >= 0.
iniloilo and ihi must have the same values as in the previous call of SGEHRD. Q is equal to the unit matrix except in the submatrix Q(ilo+1:ihi, ilo+1:ihi). 0 <= ilo <= ihi <= n-1, if n > 0; ilo=0 and ihi=-1, if n=0. (0-based indexing)
inihiSee ilo. (0-based)
inoutAOn entry, the vectors which define the elementary reflectors, as returned by SGEHRD. On exit, the n-by-n orthogonal matrix Q. Dimension (lda, n).
inldaThe leading dimension of A. lda >= max(1, n).
intautau(i) must contain the scalar factor of the elementary reflector H(i), as returned by SGEHRD. Dimension (n-1).
outworkWorkspace array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.
inlworkThe dimension of work. lwork >= ihi-ilo. For optimum performance lwork >= (ihi-ilo)*NB. If lwork = -1, a workspace query is assumed.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void sorghr(
const INT n,
const INT ilo,
const INT ihi,
f32* A,
const INT lda,
const f32* tau,
f32* work,
const INT lwork,
INT* info
);
Functions
-
void dorghr(const INT n, const INT ilo, const INT ihi, f64 *A, const INT lda, const f64 *tau, f64 *work, const INT lwork, INT *info)#
DORGHR generates a real orthogonal matrix Q which is defined as the product of ihi-ilo elementary reflectors of order N, as returned by DGEHRD:
Q = H(ilo) H(ilo+1) … H(ihi-1).
Parameters
innThe order of the matrix Q. n >= 0.
iniloilo and ihi must have the same values as in the previous call of DGEHRD. Q is equal to the unit matrix except in the submatrix Q(ilo+1:ihi, ilo+1:ihi). 0 <= ilo <= ihi <= n-1, if n > 0; ilo=0 and ihi=-1, if n=0. (0-based indexing)
inihiSee ilo. (0-based)
inoutAOn entry, the vectors which define the elementary reflectors, as returned by DGEHRD. On exit, the n-by-n orthogonal matrix Q. Dimension (lda, n).
inldaThe leading dimension of A. lda >= max(1, n).
intautau(i) must contain the scalar factor of the elementary reflector H(i), as returned by DGEHRD. Dimension (n-1).
outworkWorkspace array, dimension (max(1, lwork)). On exit, if info = 0, work[0] returns the optimal lwork.
inlworkThe dimension of work. lwork >= ihi-ilo. For optimum performance lwork >= (ihi-ilo)*NB. If lwork = -1, a workspace query is assumed.
outinfo= 0: successful exit
< 0: if info = -i, the i-th argument had an illegal value.
void dorghr(
const INT n,
const INT ilo,
const INT ihi,
f64* A,
const INT lda,
const f64* tau,
f64* work,
const INT lwork,
INT* info
);