|
NumericAL
A header-only C++20 lexer built on REAL
|
A complex pencil in generalized Schur form being formed: S and T (n × n, row-major) with A = Q S Zᴴ and B = Q T Zᴴ, Q and Z unitary (qt, zt).
More...
#include <generalized.hpp>
Public Member Functions | |
| std::complex< double > & | h (std::size_t i, std::size_t j) |
S(i, j), from 1. | |
| std::complex< double > & | b (std::size_t i, std::size_t j) |
T(i, j), from 1. | |
Static Public Member Functions | |
| static void | rotate_rows (buffer< std::complex< double > > &m, std::size_t n, std::size_t i, std::size_t first, std::size_t last, double c, const std::complex< double > &sine) |
Rows i and i + 1 (from 1) of m over the columns from first (from 1) to last. | |
| static void | rotate_columns (buffer< std::complex< double > > &m, std::size_t n, std::size_t j, std::size_t k, std::size_t first, std::size_t last, double c, const std::complex< double > &sine) |
Columns j and k (from 1) of m over the rows from first to last (from 1), first ≤ last: every caller's span holds a row (its last a column index of at least 1). | |
| static void | rotate_vectors (buffer< std::complex< double > > &mt, std::size_t n, std::size_t j, std::size_t k, double c, const std::complex< double > &sine) |
Columns j and k (from 1) of Q or Z whole, rows j and k of mt, its transpose: rotate_columns's arithmetic, each column contiguous. | |
Public Attributes | |
| std::size_t | n {0} |
| The order. | |
| buffer< std::complex< double > > | s |
S, upper Hessenberg, then triangular. | |
| buffer< std::complex< double > > | t |
T, upper triangular. | |
| buffer< std::complex< double > > | qt |
Qᵀ by rows: Q's columns, each contiguous for the rotations. | |
| buffer< std::complex< double > > | zt |
Zᵀ by rows. | |
A complex pencil in generalized Schur form being formed: S and T (n × n, row-major) with A = Q S Zᴴ and B = Q T Zᴴ, Q and Z unitary (qt, zt).
Definition at line 44 of file generalized.hpp.
|
inline |
T(i, j), from 1.
Definition at line 60 of file generalized.hpp.
|
inline |
S(i, j), from 1.
Definition at line 53 of file generalized.hpp.
|
inlinestatic |
Columns j and k (from 1) of m over the rows from first to last (from 1), first ≤ last: every caller's span holds a row (its last a column index of at least 1).
Definition at line 82 of file generalized.hpp.
|
inlinestatic |
Rows i and i + 1 (from 1) of m over the columns from first (from 1) to last.
Definition at line 67 of file generalized.hpp.
|
inlinestatic |
Columns j and k (from 1) of Q or Z whole, rows j and k of mt, its transpose: rotate_columns's arithmetic, each column contiguous.
Definition at line 96 of file generalized.hpp.
| std::size_t numerical::detail::qz_form::n {0} |
The order.
Definition at line 46 of file generalized.hpp.
Qᵀ by rows: Q's columns, each contiguous for the rotations.
Definition at line 49 of file generalized.hpp.
S, upper Hessenberg, then triangular.
Definition at line 47 of file generalized.hpp.
T, upper triangular.
Definition at line 48 of file generalized.hpp.
Zᵀ by rows.
Definition at line 50 of file generalized.hpp.