13#ifndef TLAPACK_GEQRT3_HH
14#define TLAPACK_GEQRT3_HH
36template <TLAPACK_MATRIX matrix_a, TLAPACK_MATRIX matrix_h>
46 const idx_t m = nrows(
A);
47 const idx_t n = ncols(
A);
51 std::cout <<
"Error: m < n" << std::endl;
121 for (idx_t j = 0; j <
n2; ++j) {
122 for (idx_t i = 0; i <
m1; ++i) {
130 for (idx_t j = 0; j <
n2; ++j) {
131 for (idx_t i = 0; i <
m1; ++i) {
133 T12(i, j) = std::conj(
A21(j, i));
void larfg(storage_t storeMode, type_t< vector_t > &alpha, vector_t &x, type_t< vector_t > &tau)
Generates a elementary Householder reflection.
Definition larfg.hpp:73
void lacpy(uplo_t uplo, const matrixA_t &A, matrixB_t &B)
Copies a matrix from A to B.
Definition lacpy.hpp:38
void trmm(Side side, Uplo uplo, Op trans, Diag diag, const alpha_t &alpha, const matrixA_t &A, matrixB_t &B)
Triangular matrix-matrix multiply:
Definition trmm.hpp:72
void gemm(Op transA, Op transB, const alpha_t &alpha, const matrixA_t &A, const matrixB_t &B, const beta_t &beta, matrixC_t &C)
General matrix-matrix multiply:
Definition gemm.hpp:61
Recursive QR factorization using compact WY Householder representation.
Definition arrayTraits.hpp:15
typename traits::real_type_traits< Types..., int >::type real_type
The common real type of the list of types.
Definition scalar_type_traits.hpp:113
@ Unit
The main diagonal is assumed to consist of 1's.
@ NonUnit
The main diagonal is not assumed to consist of 1's.
@ Forward
Forward direction.
@ ConjTrans
conjugate transpose
@ Columnwise
Columnwise storage.
@ General
0 <= i <= m, 0 <= j <= n.
@ Upper
0 <= i <= j, 0 <= j <= n.
@ Lower
0 <= i <= m, 0 <= j <= i.