28 #ifndef SCIMATH_WRAPPERBASE_H 29 #define SCIMATH_WRAPPERBASE_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/scimath/Functionals/Function.h> 34 #include <casacore/casa/Arrays/Vector.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.
A 1-D Specialization of the Array class.
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.
this file contains all the compiler specific defines