pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::Certified< T > Struct Template Reference

A computed value and a certified bound on its error, itemized by source: the exact value is within bound() of value. More...

#include <diagram_distance.hpp>

Public Member Functions

double bound () const
 The total bound: the sum of the terms.
 

Public Attributes

T value {}
 The value as computed.
 
std::vector< ErrorTerm > terms
 The error sources and what each contributes.
 

Detailed Description

template<typename T>
struct pulsatrix::Certified< T >

A computed value and a certified bound on its error, itemized by source: the exact value is within bound() of value.

Member Function Documentation

◆ bound()

template<typename T >
double pulsatrix::Certified< T >::bound ( ) const
inline

The total bound: the sum of the terms.

Member Data Documentation

◆ terms

template<typename T >
std::vector<ErrorTerm> pulsatrix::Certified< T >::terms

The error sources and what each contributes.

◆ value

template<typename T >
T pulsatrix::Certified< T >::value {}

The value as computed.


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