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

Returns true if all the values in the range are equal to a specific value within provided tolerance, false otherwise. More...

#include <hart_reducers.hpp>

Public Member Functions

 allFloatsEqualTo (double targetValue, 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 a specific value within provided tolerance, false otherwise.

Definition at line 52 of file hart_reducers.hpp.

Constructor & Destructor Documentation

◆ allFloatsEqualTo()

allFloatsEqualTo ( double  targetValue,
double  toleranceLinear = 1e-8 
)
inline

Definition at line 54 of file hart_reducers.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 60 of file hart_reducers.hpp.


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