limes 3.1.0
Composable Calculus Expressions for C++20
Loading...
Searching...
No Matches
limes::algorithms::accumulators::neumaier_accumulator< T > Class Template Reference

#include <accumulators.hpp>

Public Types

using value_type = T
 

Public Member Functions

constexpr neumaier_accumulator () noexcept
 
constexpr neumaier_accumulator (T init) noexcept
 
constexpr neumaier_accumulatoroperator+= (T value) noexcept
 
constexpr T operator() () const noexcept
 
constexpr operator T () const noexcept
 
constexpr T error () const noexcept
 
constexpr T correction () const noexcept
 
constexpr void reset () noexcept
 

Detailed Description

template<Field T>
class limes::algorithms::accumulators::neumaier_accumulator< T >

Definition at line 75 of file accumulators.hpp.

Member Typedef Documentation

◆ value_type

template<Field T>
using limes::algorithms::accumulators::neumaier_accumulator< T >::value_type = T

Definition at line 77 of file accumulators.hpp.

Constructor & Destructor Documentation

◆ neumaier_accumulator() [1/2]

template<Field T>
constexpr limes::algorithms::accumulators::neumaier_accumulator< T >::neumaier_accumulator ( )
inlineconstexprnoexcept

Definition at line 79 of file accumulators.hpp.

◆ neumaier_accumulator() [2/2]

template<Field T>
constexpr limes::algorithms::accumulators::neumaier_accumulator< T >::neumaier_accumulator ( init)
inlineexplicitconstexprnoexcept

Definition at line 80 of file accumulators.hpp.

Member Function Documentation

◆ correction()

template<Field T>
constexpr T limes::algorithms::accumulators::neumaier_accumulator< T >::correction ( ) const
inlineconstexprnoexcept

Definition at line 97 of file accumulators.hpp.

◆ error()

template<Field T>
constexpr T limes::algorithms::accumulators::neumaier_accumulator< T >::error ( ) const
inlineconstexprnoexcept

Definition at line 96 of file accumulators.hpp.

◆ operator T()

template<Field T>
constexpr limes::algorithms::accumulators::neumaier_accumulator< T >::operator T ( ) const
inlineconstexprnoexcept

Definition at line 94 of file accumulators.hpp.

◆ operator()()

template<Field T>
constexpr T limes::algorithms::accumulators::neumaier_accumulator< T >::operator() ( ) const
inlineconstexprnoexcept

Definition at line 93 of file accumulators.hpp.

◆ operator+=()

template<Field T>
constexpr neumaier_accumulator & limes::algorithms::accumulators::neumaier_accumulator< T >::operator+= ( value)
inlineconstexprnoexcept

Definition at line 82 of file accumulators.hpp.

◆ reset()

template<Field T>
constexpr void limes::algorithms::accumulators::neumaier_accumulator< T >::reset ( )
inlineconstexprnoexcept

Definition at line 99 of file accumulators.hpp.


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