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_dot< T > Struct Template Reference

An ill-conditioned dot product: x . More...

#include <ill_conditioned.hpp>

Public Attributes

vec::dense_vector< T > x
vec::dense_vector< T > y
T d
double cond

Detailed Description

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

An ill-conditioned dot product: x .

y rounded to nearest is d, and its achieved condition number 2 |x|.|y| / |x.y| is cond (infinite when x . y = 0).

Member Data Documentation

◆ cond

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

◆ d

template<typename T>
T mtl::generators::ill_conditioned_dot< T >::d

◆ x

◆ y


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