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

#include <accumulators.hpp>

Public Types

using value_type = T
 

Public Member Functions

constexpr pairwise_accumulator () noexcept
 
constexpr pairwise_accumulatoroperator+= (T value) noexcept
 
constexpr T operator() () const noexcept
 
constexpr operator T () const noexcept
 
constexpr void reset () noexcept
 

Detailed Description

template<Field T, std::size_t ChunkSize = 128>
class limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >

Definition at line 162 of file accumulators.hpp.

Member Typedef Documentation

◆ value_type

template<Field T, std::size_t ChunkSize = 128>
using limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >::value_type = T

Definition at line 164 of file accumulators.hpp.

Constructor & Destructor Documentation

◆ pairwise_accumulator()

template<Field T, std::size_t ChunkSize = 128>
constexpr limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >::pairwise_accumulator ( )
inlineconstexprnoexcept

Definition at line 166 of file accumulators.hpp.

Member Function Documentation

◆ operator T()

template<Field T, std::size_t ChunkSize = 128>
constexpr limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >::operator T ( ) const
inlineconstexprnoexcept

◆ operator()()

template<Field T, std::size_t ChunkSize = 128>
constexpr T limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >::operator() ( ) const
inlineconstexprnoexcept

◆ operator+=()

template<Field T, std::size_t ChunkSize = 128>
constexpr pairwise_accumulator & limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >::operator+= ( value)
inlineconstexprnoexcept

Definition at line 168 of file accumulators.hpp.

◆ reset()

template<Field T, std::size_t ChunkSize = 128>
constexpr void limes::algorithms::accumulators::pairwise_accumulator< T, ChunkSize >::reset ( )
inlineconstexprnoexcept

Definition at line 186 of file accumulators.hpp.


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