5 #include <surfaceinspector/util/Object.hpp>
11 namespace SurfaceInspector {
namespace maths{
namespace functions{
21 template <
typename Tin,
typename Tout>
37 virtual inline Tout
operator() (Tin
const &&x) {(*this)(x);}
47 virtual inline vector<Tout>
operator() (vector<Tin>
const &u)
50 for(Tin
const &x : u) v.push_back((*
this)(x));
Interface defining math function core mechanics.
Definition: IMathFunction.hpp:22
virtual Tout operator()(Tin const &x)
Math function callable. It must be implemented by any concrete implementation of a valid math functio...
Class representing an object. All surface inspector classes must extend Object.
Definition: Object.hpp:12