Arduino Libraries
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
ustd
accumulator
tags.hpp
Go to the documentation of this file.
1
// Author: Mario S. Könz <mskoenz@gmx.net>
2
// Date: 20.07.2013 11:26:54 EDT
3
// File: tags.hpp
4
5
/* This program is free software. It comes without any warranty, to
6
* the extent permitted by applicable law. You can redistribute it
7
* and/or modify it under the terms of the Do What The Fuck You Want
8
* To Public License, Version 2, as published by Sam Hocevar. See
9
* http://www.wtfpl.net/ or COPYING for more details. */
10
11
#ifndef __ACCUMULATOR_TAGS_HEADER
12
#define __ACCUMULATOR_TAGS_HEADER
13
14
//------------------- remove arduino macros -------------------
15
#ifdef min
16
#undef min
17
#endif
18
19
#ifdef max
20
#undef max
21
#endif
22
23
namespace
ustd {
24
namespace
tag {
25
struct
count
{};
26
struct
mean
{};
27
struct
error
{};
28
struct
min
{};
29
struct
max
{};
30
template
<
int
N>
31
struct
ema
{};
//exponentially moving average
32
}
//end namespace tag
33
}
//end namespace ustd
34
35
#endif //__ACCUMULATOR_TAGS_HEADER
ustd::tag::error
Definition:
tags.hpp:27
ustd::tag::mean
Definition:
tags.hpp:26
ustd::tag::max
Definition:
tags.hpp:29
ustd::tag::count
Definition:
tags.hpp:25
ustd::tag::min
Definition:
tags.hpp:28
ustd::tag::ema
Definition:
tags.hpp:31
Generated on Wed Oct 8 2014 19:44:56 for Arduino Libraries by
1.8.6