Commit Graph

13 Commits

Author SHA1 Message Date
Ivan Kravets
525476e0e5 @PlatformIO Library Registry manifest file 2016-12-16 12:33:43 +02:00
V0v1kkk
2cf71d91db Added functions for calculating standard deviation and standard error of running average. They may be useful for statistical evaluation of running average.
Also added function for check fullness of buffer.
2016-12-02 00:06:08 +05:00
rob tillaart
daf25c5e65 + version 0.2.11
+ getAverage() renamed to getFastAverage() as it is fast but less accurate
+ reimplemented getAverage() to be accurate
+ added GetMinInBuffer() to make difference with getMin()
+ added GetMaxInBuffer() - idem
+ refactor
+ added 2 example sketches to show the new functions
2015-09-05 12:14:02 +02:00
rob tillaart
b527f06da5 + version 0.2.08
+ refactored getMin() and getMax()
+ fixed typos
+ added demo sketch getMin getMax
2015-04-10 21:23:24 +02:00
Eric Mulder
ab1ecfe2e7 Improved robustness of min/max functions
Compare option could lead to comparing NAN with NAN. Though the outcome
is as expected, preventing the possibility is better.
2015-04-10 00:16:59 +02:00
Eric Mulder
ad44ae9e88 Added min/max functions
Added getMin() and getMax() for a user of the library to easily keep
track of the lowest and highest value that were inserted in the
data-set.
2015-03-16 21:47:59 +01:00
rob tillaart
48f5496fd9 + version 0.2.06
+ all size vars not 8 bit
+ minor refactor
+ added sample counter to ra_test.ino (easier to compare output)
2015-03-07 13:47:56 +01:00
rob tillaart
b89c9decb0 + version 0.2.05
+ changed float to double (for ARM platform)
2014-12-16 22:04:21 +01:00
rob tillaart
9cbe3bf5f9 + update version 0.2.04
+ added getElement() (not released 0.2.03 version)
+ added getSize()    (not released 0.2.03 version)
+ added getCount()   (not released 0.2.03 version)
+ updated keywords.txt
+ added memory protection if there is not enough memory to allocate.
+ added return NAN instead of 0  for getAverage()
+ reduced _size, _cnt, _idx to uint8_t
+ changed extensions of example code to .ino
2014-07-03 22:00:45 +02:00
Rob Tillaart
f1e9167e03 + update to version 0.2.02
- several versions not in git :(
2013-08-17 14:43:42 +02:00
Rob Tillaart
7191f93920 Running average 2011-10-09 22:24:50 +02:00
Rob Tillaart
64c247fee4 testing 2011-10-09 22:19:32 +02:00
Rob Tillaart
eb297bc993 added some more libs 2011-10-09 22:16:48 +02:00