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); }
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 uInt nparameters() const
Returns the number of parameters.
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.
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.
this file contains all the compiler specific defines
Form a linear combination of function objects.
CombiFunction(const CombiFunction< W > &other)