MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
schur.hpp File Reference
#include <algorithm>
#include <cmath>
#include <complex>
#include <concepts>
#include <limits>
#include <stdexcept>
#include <vector>
#include <mtl/concepts/matrix.hpp>
#include <mtl/concepts/scalar.hpp>
#include <mtl/vec/dense_vector.hpp>
#include <mtl/mat/dense2D.hpp>
#include <mtl/operation/hessenberg.hpp>
#include <mtl/detail/francis_qr.hpp>
#include <mtl/detail/complex_qr.hpp>
#include <mtl/detail/unit_roundoff.hpp>
#include <mtl/math/identity.hpp>
#include <mtl/interface/dispatch_traits.hpp>

Classes

struct  mtl::schur_result< Value >
 The factors of a Schur decomposition A = Q T Q^H. More...

Namespaces

namespace  mtl
namespace  mtl::detail
 mat*vec multiply into pre-allocated y: y = A * x.

Functions

template<typename M>
auto mtl::detail::schur_complex (const M &A)
 The in-house complex Schur form: Hessenberg reduction, its unitary Q, and the complex QR iteration, on A scaled to the unit binade.
template<typename Accumulator = void, FieldMatrix M>
auto mtl::schur (const M &A)
 Schur decomposition of a square matrix.
template<typename Value>
requires std::floating_point<Value>
schur_result< std::complex< Value > > mtl::rsf2csf (const mat::dense2D< Value > &Q, const mat::dense2D< Value > &T)
 Convert a real Schur decomposition A = Q T Q^T into the complex one, A = U R U^H with U unitary and R upper triangular, as MATLAB's rsf2csf does.