28 #ifndef SCIMATH_UNARYFUNCTION_H
29 #define SCIMATH_UNARYFUNCTION_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/UnaryParam.h>
34 #include <casacore/scimath/Functionals/Function.h>
148 #ifndef CASACORE_NO_AUTO_TEMPLATES
149 #include <casacore/scimath/Functionals/UnaryFunction.tcc>
const ArgType * FunctionArg
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Unary at x.
UnaryFunction()
Constructs the UnaryFunction, Defaults: height=1, center=0, width=1.
UnaryFunction(const UnaryFunction< T > &other)
Copy constructor (deep copy)
UnaryFunction(const T &height, const T ¢er, const T &width)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
UnaryFunction(const T &height, const T ¢er)
virtual ~UnaryFunction()
Destructor.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
UnaryFunction(const UnaryFunction< W > &other)
UnaryFunction(const T &height)
UnaryFunction< T > & operator=(const UnaryFunction< T > &other)
Copy assignment (deep copy)
UnaryParam< T > & operator=(const UnaryParam< T > &other)
Copy assignment (deep copy)
this file contains all the compiler specific defines