Commit Graph

22 Commits

Author SHA1 Message Date
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
Samuel Lang
92432a601f make RunningMedian configurable
The defines are not accessible when the library is used as a reference like with PlatformIO hence the `#defines` cannot be overwritten.
2018-08-23 22:00:20 +02:00
RobTillaart
cecb3906ed fix issue #33 - revert double to float; +some refactor 2017-07-26 22:21:25 +02:00
rob tillaart
34ff8cfd02 + fix getELementh(n)
+ header for example sketch
+ add bigger test sketch
2015-10-30 17:32:59 +01:00
rob tillaart
e4ee6b2532 fix merge 2015-10-30 16:52:26 +01:00
rob tillaart
6a5296d3f1 + refactor constructor + const where possible 2015-10-30 16:46:22 +01:00
rob tillaart
87be2b064a + refactor constructor + const where possible 2015-10-30 16:12:24 +01:00
rob tillaart
3dbd52fd43 + version 0.1.11
+ undo fix clear.
2015-03-29 18:35:38 +02:00
rob tillaart
4c254807bf + version 0.1.10
+ float -> double (for ARM proc)
+ fix in clear()
2015-03-07 15:53:38 +01:00
Rob Tillaart
b4e61cd3e7 + correction version string 2013-10-27 19:20:13 +01:00
Rob Tillaart
224f0e4b2c + version 0.1.08
+ added getElement()
+ added getSortedElement()
+ added predict()
+ refactor getHighest(), getLowest()
2013-10-20 15:32:13 +02:00
Rob Tillaart
0acddd3f2b + version 0.1.07
+ added correct median for even element count
+ fix bug in 0.1.06
2013-10-20 00:19:12 +02:00
Rob Tillaart
ff52d49117 + version 0.1.06
+ dynamic internal buffers
+ replace sorted buffer with "indirection buffer"
+ bubble sort + flag (faster)
2013-10-19 15:55:43 +02:00
Rob Tillaart
28b1b43b2a + 0.1.06beta - experimental version
+ dynamic memory option
+ less internal storage
+ faster sort (factor 2 on average)
2013-10-19 15:34:18 +02:00
Rob Tillaart
79c57bc888 + added comments in the header file
+ removed the default constructor, user should be explicit define size
+ created a destructor
+ added support for dynamic allocated internal buffers (not tested)
+ fixed bug in sort routine (swap)
+ patched testsketches
2013-10-19 00:26:50 +02:00
Rob Tillaart
eba3ece14e + added getAverage(uint8_t nMedians)
+ getSize()
+ getCount()
+ ifdef conditional to keep code small
2013-10-17 20:55:03 +02:00
Rob Tillaart
fae951f02a + added sorted flag
+ renamed some #defines (might break some code)
+ added test sketch
2013-09-30 19:10:10 +02:00
Rob Tillaart
127f32ebc7 + update to version 0.1.02 2013-08-17 14:54:10 +02:00
Rob Tillaart
b5205149a5 running median 2011-10-09 22:24:29 +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