HART  0.2.0
High level Audio Regression and Testing
Loading...
Searching...
No Matches
allFloatsEqualToEachOther Struct Reference

Returns true if all the values in the range are equal to each other within provided tolerance, false otherwise. More...

#include <hart_reducers.hpp>

Public Member Functions

 allFloatsEqualToEachOther (double toleranceLinear=1e-8)
 
template<typename IteratorType >
bool operator() (IteratorType begin, IteratorType end) const
 

Detailed Description

Returns true if all the values in the range are equal to each other within provided tolerance, false otherwise.

Definition at line 25 of file hart_reducers.hpp.

Constructor & Destructor Documentation

◆ allFloatsEqualToEachOther()

allFloatsEqualToEachOther ( double  toleranceLinear = 1e-8)
inline

Definition at line 27 of file hart_reducers.hpp.

Member Function Documentation

◆ operator()()

template<typename IteratorType >
bool operator() ( IteratorType  begin,
IteratorType  end 
) const
inline

Definition at line 32 of file hart_reducers.hpp.


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