29 #ifndef SCIMATH_COMBIFUNCTION_H
30 #define SCIMATH_COMBIFUNCTION_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>
227 #endif //# CASACORE_NO_AUTO_TEMPLATES
CombiFunction(const CombiFunction< W > &other, Bool)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
CombiFunction< T > & operator=(const CombiFunction< T > &other)
Make this object a (deep) copy of other.
Parameters for a linear combination of function objects.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
virtual ~CombiFunction()
Destructor.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
CombiFunction()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0...
Numerical functional interface class.
bool Bool
Define the standard types used by Casacore.
Class that computes partial derivatives by automatic differentiation.
CombiFunction(const CombiFunction< T > &other, Bool)
CombiFunction(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.
Form a linear combination of function objects.
CombiFunction(const CombiFunction< W > &other)