template<typename T, size_t N, unsigned int Flags = 0>
struct Linear::Hessenberg< T, N, Flags >
Struct for Hessenberg decomposition.
This struct NxN matrix Q and NxN matrix H such that \(A=QHQ^*\) where Q is unitary and H is upper Hessenberg.
- Parameters
-
T | Type to store matrix entries as. |
N | Number of rows/columns for Q and H (both square). Dynamic is allowed for N. |
Flags | Flags to pass to the matrices (default = row major). |
template<typename T , size_t N, unsigned int Flags = 0>
template<size_t M2, size_t N2, unsigned int Flags2>
Computes the Hessenberg decomposition.
If A is not square or Q != N, then an exception is thrown.
- Parameters
-