MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::generators::ill_conditioned_sum< T > Struct Template Reference

An ill-conditioned sum: sum p rounded to nearest is s, and its achieved condition number sum |p_i| / |sum p_i| is cond. More...

#include <ill_conditioned.hpp>

Public Attributes

vec::dense_vector< T > p
T s
double cond

Detailed Description

template<typename T>
struct mtl::generators::ill_conditioned_sum< T >

An ill-conditioned sum: sum p rounded to nearest is s, and its achieved condition number sum |p_i| / |sum p_i| is cond.

Member Data Documentation

◆ cond

template<typename T>
double mtl::generators::ill_conditioned_sum< T >::cond

◆ p

◆ s

template<typename T>
T mtl::generators::ill_conditioned_sum< T >::s

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