33 :
Functor(
"LinearFunctor"), _slope(slope), _intercept(intercept) {}
41 return std::make_shared<LinearFunctor>(_slope, _intercept);
LinearFunctor & operator=(LinearFunctor const &)
LinearFunctor(double slope, double intercept)
Concrete implementation of Functor subclass for testing.
A base class for image defects.
virtual double derivative(double x) const
virtual std::shared_ptr< Functor > clone() const
Abstract base class for function objects.
virtual double operator()(double x) const