All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Merged #23, compilation error on C++17 or later (kudos to toge)
- Fix #21, add getCoefficientOfVariation()
- update readme.md
- update keywords.txt
- update readme.md
- fix #18 add range() and middle()
- fast first order functions, based on minimum() and maximum()
- statistic value is (very) limited.
- add example.
- update readme.md
- fix #16 => defined(AVR) to catch all ARCH_AVR
- fix #13 sqrtf() missing
- prep more correct NaN when _cnt == 0;
- update readme.md
- update FAQ.md
- update GitHub actions
- update license 2023
- minor edits
- simplified changelog.md
- CHANGELOG.md: moved history in Statistic.cpp to this file.
- Turned this into a header-only library to make use of compiler inline optimizations.
- Turned this into a class template to reduce dead code at compile time and allow for the use of other floating point formats (double, long double for example).
- Replaced
#include <Arduino.h>
with#include <cstdint>
to find the proper location ofuint32_t
. This also allows one to use the library in non-Arduino environments.
- update library.json, readme, license, minor edits
- add() returns how much was actually added.
- add Arduino-CI + unit tests
- fix library.json
- refactor
- Added flag to switch on the use of
stdDev
runtime. [idea marc.recksiedl]
- Added
#include <Arduino.h>
to fixuint32_t
bug
- Refactored const in many places
- reverted double to float on request as float is 99.99% of the cases good enough and float(32 bit) is supported in HW for some processors (e.g. Teensy).
- float -> double to support ARM (compiles)
- moved count() sum() min() max() to .h; for optimizing compiler
- minor edits
- added variance()
- changed count -> unsigned long allows for 2^32 samples
- minor edits
- branched from 0.2.01 version of Rob Tillaart's code
- added minimum(), maximum(), unbiased stdev().
- changed counter to long -> int overflows @32K samples
- stripped to minimal functionality
- initial version