|
NumericAL
A header-only C++20 lexer built on REAL
|
The pencil A − λ B of a Hermitian A and a Hermitian positive-definite B (each read in its lower triangle, of the diagonal its real part) in standard form: B = L Lᴴ and C = L⁻¹ A L⁻ᴴ, Hermitian, as LAPACK's sygst (type 1) forms it from pencil_reduction_least, by two triangular solves below (pencil_standard_form). C's eigenpairs (λ, y) are the pencil's (λ, L⁻ᴴ y), those vectors B-orthonormal (Xᴴ B X = I), as scipy.linalg.eigh(a, b)'s.
More...
#include <factorizations.hpp>
Public Member Functions | |
| definite_pencil (const matrix< T > &a, const matrix< T > &b) | |
| matrix< T > | vectors_of (matrix< T > &&v) const |
The pencil's eigenvectors from v, columns of C's (all or some): L⁻ᴴ V. | |
Public Attributes | |
| matrix< T > | factor |
L, lower-triangular, B = L Lᴴ. | |
| matrix< T > | reduced |
C = L⁻¹ A L⁻ᴴ, whole. | |
Static Private Member Functions | |
| static matrix< T > | checked_factor (const matrix< T > &a, const matrix< T > &b) |
| static matrix< T > | standard_form (const matrix< T > &a, const matrix< T > &l) |
The pencil A − λ B of a Hermitian A and a Hermitian positive-definite B (each read in its lower triangle, of the diagonal its real part) in standard form: B = L Lᴴ and C = L⁻¹ A L⁻ᴴ, Hermitian, as LAPACK's sygst (type 1) forms it from pencil_reduction_least, by two triangular solves below (pencil_standard_form). C's eigenpairs (λ, y) are the pencil's (λ, L⁻ᴴ y), those vectors B-orthonormal (Xᴴ B X = I), as scipy.linalg.eigh(a, b)'s.
Definition at line 6600 of file factorizations.hpp.
|
inline |
| dimension_error | If a or b is not square, or their orders differ. |
| non_finite_error | If an entry read is infinite or NaN. |
| not_positive_definite_error | If b is not positive definite. |
Definition at line 6607 of file factorizations.hpp.
|
inlinestaticprivate |
Definition at line 6628 of file factorizations.hpp.
|
inlinestaticprivate |
Definition at line 6638 of file factorizations.hpp.
The pencil's eigenvectors from v, columns of C's (all or some): L⁻ᴴ V.
Definition at line 6614 of file factorizations.hpp.
L, lower-triangular, B = L Lᴴ.
Definition at line 6623 of file factorizations.hpp.
C = L⁻¹ A L⁻ᴴ, whole.
Definition at line 6624 of file factorizations.hpp.