NumericAL
A header-only C++20 lexer built on REAL
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
numerical::detail::band_work< T > Class Template Reference

The lower band of a symmetric or Hermitian matrix of order n and half-bandwidth width, one diagonal wider for the bulge a band reduction chases: entry (i, k) of the lower triangle on diagonal i − k. More...

#include <eigen.hpp>

Public Member Functions

 band_work (const matrix< T > &lower)
 The band of lower, its (d, j) entry the matrix's (j + d, j), the bulge's diagonal zero.
 
T get (std::size_t i, std::size_t k) const
 Entry (i, k) of the lower triangle, within the bulge's diagonal (0 ≤ i − k ≤ width + 1: all a reduction reads).
 
void set (std::size_t i, std::size_t k, const T &value)
 Sets entry (i, k) of the lower triangle (i ≥ k, within the bulge's diagonal).
 
std::size_t order () const noexcept
 < The order n.
 
std::size_t width () const noexcept
 < The half-bandwidth.
 

Private Attributes

std::size_t n_
 
std::size_t width_
 
buffer< T > data_
 

Detailed Description

template<typename T>
class numerical::detail::band_work< T >

The lower band of a symmetric or Hermitian matrix of order n and half-bandwidth width, one diagonal wider for the bulge a band reduction chases: entry (i, k) of the lower triangle on diagonal i − k.

Definition at line 3695 of file eigen.hpp.

Constructor & Destructor Documentation

◆ band_work()

template<typename T >
numerical::detail::band_work< T >::band_work ( const matrix< T > &  lower)
inlineexplicit

The band of lower, its (d, j) entry the matrix's (j + d, j), the bulge's diagonal zero.

Definition at line 3700 of file eigen.hpp.

Member Function Documentation

◆ get()

template<typename T >
T numerical::detail::band_work< T >::get ( std::size_t  i,
std::size_t  k 
) const
inline

Entry (i, k) of the lower triangle, within the bulge's diagonal (0 ≤ i − k ≤ width + 1: all a reduction reads).

Definition at line 3712 of file eigen.hpp.

◆ order()

template<typename T >
std::size_t numerical::detail::band_work< T >::order ( ) const
inlinenoexcept

< The order n.

Definition at line 3726 of file eigen.hpp.

◆ set()

template<typename T >
void numerical::detail::band_work< T >::set ( std::size_t  i,
std::size_t  k,
const T &  value 
)
inline

Sets entry (i, k) of the lower triangle (i ≥ k, within the bulge's diagonal).

Definition at line 3719 of file eigen.hpp.

◆ width()

template<typename T >
std::size_t numerical::detail::band_work< T >::width ( ) const
inlinenoexcept

< The half-bandwidth.

Definition at line 3731 of file eigen.hpp.

Member Data Documentation

◆ data_

template<typename T >
buffer<T> numerical::detail::band_work< T >::data_
private

Definition at line 3740 of file eigen.hpp.

◆ n_

template<typename T >
std::size_t numerical::detail::band_work< T >::n_
private

Definition at line 3738 of file eigen.hpp.

◆ width_

template<typename T >
std::size_t numerical::detail::band_work< T >::width_
private

Definition at line 3739 of file eigen.hpp.


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