#ifndef FUNC_STEP_H_ #define FUNC_STEP_H_ #include /** *@short Step function *
 * y <- step(x)
 * y = 1 if x >= 0
 *     0 if x <  0
 * 
*/ class Step:public ScalarFunc { public: Step (); double eval (std::vector const &args) const; bool isDiscreteValued(std::vector const &args) const; }; #endif /* FUNC_STEP_H_ */