|
FastLED 3.9.15
|
Definition at line 11 of file moving_average_impl.h.
#include <moving_average_impl.h>
Inheritance diagram for fl::detail::MovingAverageImpl< T, N >:
Collaboration diagram for fl::detail::MovingAverageImpl< T, N >:Public Member Functions | |
| MovingAverageImpl () FL_NOEXCEPT | |
| MovingAverageImpl (fl::size capacity) | |
| fl::size | capacity () const |
| bool | full () const |
| void | reset () |
| void | resize (fl::size new_capacity) |
| fl::size | size () const |
| T | update (T input) |
| T | value () const |
Static Private Member Functions | |
| template<typename U = T> | |
| static fl::enable_if< fl::is_floating_point< U >::value, U >::type | divByCount (U sum, fl::size count) |
| template<typename U = T> | |
| static fl::enable_if< fl::is_integral< U >::value, U >::type | divByCount (U sum, fl::size count) |
| template<typename U = T> | |
| static fl::enable_if<!fl::is_floating_point< U >::value &&!fl::is_integral< U >::value, U >::type | divByCount (U sum, fl::size count) |
Private Attributes | |
| circular_buffer< T, N > | mBuf |
| T | mSum |