FastLED 3.9.15
Loading...
Searching...
No Matches

◆ div_by_count() [1/3]

template<typename T>
fl::enable_if< fl::is_floating_point< T >::value, T >::type fl::detail::div_by_count ( T sum,
fl::size count )
inline

Definition at line 11 of file div_by_count.h.

11{ return sum / static_cast<T>(count); }

Referenced by fl::detail::SavitzkyGolayFilterImpl< T, N >::recompute(), fl::detail::AlphaTrimmedMeanImpl< T, N >::update(), fl::detail::AlphaTrimmedMeanImpl< T, N >::update(), and fl::detail::HampelFilterImpl< T, N >::update().

+ Here is the caller graph for this function: