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::real_components Struct Reference

A real eigenvector during its back-substitution, the sums of rows against it by dot_product. More...

#include <eigen.hpp>

Public Types

using scalar = double
 Its components.
 

Public Member Functions

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, 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 > x
 The components.
 

Detailed Description

A real eigenvector during its back-substitution, the sums of rows against it by dot_product.

Definition at line 2706 of file eigen.hpp.

Member Typedef Documentation

◆ scalar

Its components.

Definition at line 2708 of file eigen.hpp.

Member Function Documentation

◆ dot()

double numerical::detail::real_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 2713 of file eigen.hpp.

◆ scale()

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

Scales the components from … to by factor.

Definition at line 2728 of file eigen.hpp.

◆ set()

void numerical::detail::real_components::set ( std::size_t  j,
double  value 
)
inline

Sets component j to value.

Definition at line 2721 of file eigen.hpp.

Member Data Documentation

◆ x

buffer<double> numerical::detail::real_components::x

The components.

Definition at line 2710 of file eigen.hpp.


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