Skip to content
Snippets Groups Projects
Commit 28626e2b authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Nuke SteepFunction

LinearFunction<100> serves the save purpose
parent be615e42
No related branches found
No related tags found
No related merge requests found
......@@ -73,15 +73,6 @@ template <int slope> class SampleFunction : public MyFunction {
}
};
class SteepFunction : public MyFunction {
public:
double virtual evaluate(double x) const { return 100 * x; }
double virtual leftDifferential(double s) const { return 100; }
double virtual rightDifferential(double s) const { return 100; }
};
// slope in [n-1,n] is n
class HorribleFunction : public MyFunction {
// TODO: Handle kinks
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment