29 #ifndef SCIMATH_COMBIFUNCTION_H
30 #define SCIMATH_COMBIFUNCTION_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/scimath/Functionals/CombiParam.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.h>
160 #define CombiFunction_PS CombiFunction
186 CombiFunction_PS<AutoDiff<T> > &
203 return new CombiFunction_PS<AutoDiff<T> >(*this); }
209 *cloneNonAD()
const {
219 #undef CombiFunction_PS
224 #ifndef CASACORE_NO_AUTO_TEMPLATES
225 #include <casacore/scimath/Functionals/CombiFunction.tcc>
226 #include <casacore/scimath/Functionals/Combi2Function.tcc>
CombiFunction()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0.
CombiFunction(const CombiFunction< T > &other, Bool)
CombiFunction< T > & operator=(const CombiFunction< T > &other)
Make this object a (deep) copy of other.
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the function at x.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
CombiFunction(const CombiFunction< T > &other)
Make this object a (deep) copy of other.
CombiFunction(const CombiFunction< W > &other)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual ~CombiFunction()
Destructor.
CombiFunction(const CombiFunction< W > &other, Bool)
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
const ArgType * FunctionArg
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)
bool Bool
Define the standard types used by Casacore.