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

A real matrix's complex eigenvector during its back-substitution, its real and imaginary parts apart: a row of the real Schur form against it is two dot_product. More...

#include <eigen.hpp>

Public Types

using scalar = std::complex< double >
 Its components.
 

Public Member Functions

std::complex< double > dot (const double *row, std::size_t from, std::size_t to) const
 Σ_{l = from…to} row[l] x[l].
 
void set (std::size_t j, const std::complex< double > &value)
 Sets component j to value.
 
void scale (std::size_t from, std::size_t to, double factor)
 Scales the components from … to by factor.
 

Public Attributes

buffer< double > re
 The real parts.
 
buffer< double > im
 The imaginary parts.
 

Detailed Description

A real matrix's complex eigenvector during its back-substitution, its real and imaginary parts apart: a row of the real Schur form against it is two dot_product.

Definition at line 2740 of file eigen.hpp.

Member Typedef Documentation

◆ scalar

Its components.

Definition at line 2742 of file eigen.hpp.

Member Function Documentation

◆ dot()

std::complex< double > numerical::detail::split_components::dot ( const double *  row,
std::size_t  from,
std::size_t  to 
) const
inline

Σ_{l = from…to} row[l] x[l].

Definition at line 2748 of file eigen.hpp.

◆ scale()

void numerical::detail::split_components::scale ( std::size_t  from,
std::size_t  to,
double  factor 
)
inline

Scales the components from … to by factor.

Definition at line 2764 of file eigen.hpp.

◆ set()

void numerical::detail::split_components::set ( std::size_t  j,
const std::complex< double > &  value 
)
inline

Sets component j to value.

Definition at line 2756 of file eigen.hpp.

Member Data Documentation

◆ im

buffer<double> numerical::detail::split_components::im

The imaginary parts.

Definition at line 2745 of file eigen.hpp.

◆ re

buffer<double> numerical::detail::split_components::re

The real parts.

Definition at line 2744 of file eigen.hpp.


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