28 #ifndef SCIMATH_WRAPPERBASE_H
29 #define SCIMATH_WRAPPERBASE_H
66 template<
class T>
class WrapperBase {
virtual T eval(typename Function< T >::FunctionArg x, const Vector< T > &par) const =0
Evaluate the function at x.
Vector< T > arg_p
Vector argument interface.
virtual ~WrapperBase()
Destructor.
uInt ndim_p
Dimensionality.
Numerical functional interface class.
virtual uInt ndim() const
Get the dimensionality.
WrapperBase()
Default constructor: zero dimension.
WrapperBase(const uInt dim)
Standard constructor.
WrapperBase< T > & operator=(const WrapperBase< T > &other)
Aid in constructing function objects from C++ functions.