template<typename T, size_t M, size_t N, unsigned int Flags = 0>
struct Linear::QR< T, M, N, Flags >
Struct for QR decomposition.
This struct finds MxN matrix Q, NxN matrix R such that \(A=QR\) and R is upper triangular. Moreover, if Q is square then Q is unitary.
- Parameters
-
T | Type to store matrix entries as. |
M | Number of rows for Q. Dynamic is allowed for M. |
N | Number of columns for Q and R (R is square). Dynamic is allowed for N. |
Flags | Flags to pass to the matrices (default = row major). |
template<typename T , size_t M, size_t N, unsigned int Flags = 0>
template<size_t P, size_t Q, unsigned int Flags2>
Computes the QR decomposition.
If P != M or Q != N, then an exception is thrown.
- Parameters
-