Commit Graph

19 Commits

Author SHA1 Message Date
rob tillaart
9b3643e687 0.4.1 RunningAverage 2021-11-24 10:03:41 +01:00
rob tillaart
f4d0b1d978 RunningAverage 0.4.0 2021-05-26 16:39:03 +02:00
rob tillaart
7661eee8b4 2021-01-29 2021-01-29 12:31:58 +01:00
rob tillaart
72861821fc update libraries R-Z 2020-11-27 11:33:55 +01:00
RobTillaart
6e867f06aa #149 improve accuracy of getFastAverage() 2020-04-16 12:56:15 +02:00
RobTillaart
53764ffe65 fix overflow issue #139 2020-01-17 12:50:05 +01:00
RobTillaart
443bc2641e Added getValue to get values in order of adding 2020-01-16 09:09:48 +01:00
RobTillaart
73f892523e fix issue #33; refactor; function names to camelCase; marked TODO's 2017-07-26 21:44:04 +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
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