summaryrefslogtreecommitdiff
path: root/src/slope.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/slope.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/slope.h b/src/slope.h
new file mode 100644
index 0000000..acdbb41
--- /dev/null
+++ b/src/slope.h
@@ -0,0 +1,22 @@
1#ifndef NEURAL_SLOPE_H
2#define NEURAL_SLOPE_H
3
4namespace Neural
5{
6 template<typename sigtype>
7 class Slope
8 {
9 public:
10 Slope()
11 {
12 }
13
14 virtual ~Slope()
15 {
16 }
17
18 virtual sigtype operator()( sigtype sInput )=0;
19 };
20};
21
22#endif