NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
numerical::detail::real_qz_form Struct Reference

A real pencil in generalized real Schur form being formed: S and T (n × n, row-major) with A = Q S Zᵀ and B = Q T Zᵀ, Q and Z orthogonal (qt, zt). More...

#include <generalized.hpp>

Public Member Functions

double & h (std::size_t i, std::size_t j)
 S(i, j), from 1.
 
double & b (std::size_t i, std::size_t j)
 T(i, j), from 1.
 

Static Public Member Functions

static void rotate_rows (buffer< double > &m, std::size_t n, std::size_t i, std::size_t k, std::size_t first, std::size_t last, double c, double sine)
 LAPACK's drot on rows i and k (from 1) of m over the columns first … last: x ← c x + s y, y ← c y − s x, x row i.
 
static void rotate_columns (buffer< double > &m, std::size_t n, std::size_t j, std::size_t k, std::size_t first, std::size_t last, double c, double sine)
 LAPACK's drot on columns j and k (from 1) of m over the rows first … last: x ← c x + s y, y ← c y − s x, x column j.
 

Public Attributes

std::size_t n {0}
 The order.
 
buffer< double > s
 S, upper Hessenberg, then quasi-triangular.
 
buffer< double > t
 T, upper triangular.
 
buffer< double > qt
 Qᵀ by rows: Q's columns, each contiguous for the rotations and reflections.
 
buffer< double > zt
 Zᵀ by rows.
 

Detailed Description

A real pencil in generalized real Schur form being formed: S and T (n × n, row-major) with A = Q S Zᵀ and B = Q T Zᵀ, Q and Z orthogonal (qt, zt).

Definition at line 479 of file generalized.hpp.

Member Function Documentation

◆ b()

double & numerical::detail::real_qz_form::b ( std::size_t  i,
std::size_t  j 
)
inline

T(i, j), from 1.

Definition at line 495 of file generalized.hpp.

◆ h()

double & numerical::detail::real_qz_form::h ( std::size_t  i,
std::size_t  j 
)
inline

S(i, j), from 1.

Definition at line 488 of file generalized.hpp.

◆ rotate_columns()

static void numerical::detail::real_qz_form::rotate_columns ( buffer< double > &  m,
std::size_t  n,
std::size_t  j,
std::size_t  k,
std::size_t  first,
std::size_t  last,
double  c,
double  sine 
)
inlinestatic

LAPACK's drot on columns j and k (from 1) of m over the rows first … last: x ← c x + s y, y ← c y − s x, x column j.

Definition at line 523 of file generalized.hpp.

◆ rotate_rows()

static void numerical::detail::real_qz_form::rotate_rows ( buffer< double > &  m,
std::size_t  n,
std::size_t  i,
std::size_t  k,
std::size_t  first,
std::size_t  last,
double  c,
double  sine 
)
inlinestatic

LAPACK's drot on rows i and k (from 1) of m over the columns first … last: x ← c x + s y, y ← c y − s x, x row i.

Definition at line 503 of file generalized.hpp.

Member Data Documentation

◆ n

std::size_t numerical::detail::real_qz_form::n {0}

The order.

Definition at line 481 of file generalized.hpp.

◆ qt

buffer<double> numerical::detail::real_qz_form::qt

Qᵀ by rows: Q's columns, each contiguous for the rotations and reflections.

Definition at line 484 of file generalized.hpp.

◆ s

buffer<double> numerical::detail::real_qz_form::s

S, upper Hessenberg, then quasi-triangular.

Definition at line 482 of file generalized.hpp.

◆ t

buffer<double> numerical::detail::real_qz_form::t

T, upper triangular.

Definition at line 483 of file generalized.hpp.

◆ zt

buffer<double> numerical::detail::real_qz_form::zt

Zᵀ by rows.

Definition at line 485 of file generalized.hpp.


The documentation for this struct was generated from the following file: