JPL Spatial
Sound spatialization and propagation library
Loading...
Searching...
No Matches
JPL::Algo::AccPow2< T > Struct Template Reference

functor for std::accumulate (and similar) to accumulate sum of value squares More...

#include <JPLSpatial/Algo/Algorithm.h>

Public Member Functions

JPL_INLINE constexproperator() (const T &acc, const T &value) const noexcept
 

Detailed Description

template<class T = void>
struct JPL::Algo::AccPow2< T >

functor for std::accumulate (and similar) to accumulate sum of value squares

Member Function Documentation

◆ operator()()

template<class T = void>
JPL_INLINE constexpr T JPL::Algo::AccPow2< T >::operator() ( const T &  acc,
const T &  value 
) const
inlineconstexprnoexcept

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