26#ifndef SCIMATH_COMBIFUNCTION_H
27#define SCIMATH_COMBIFUNCTION_H
30#include <casacore/casa/aips.h>
31#include <casacore/scimath/Functionals/CombiParam.h>
32#include <casacore/scimath/Mathematics/AutoDiff.h>
33#include <casacore/scimath/Mathematics/AutoDiffMath.h>
157#define CombiFunction_PS CombiFunction
183 CombiFunction_PS<AutoDiff<T> > &
188 virtual ~CombiFunction_PS() {}
200 return new CombiFunction_PS<AutoDiff<T> >(*this); }
206 *cloneNonAD()
const {
216#undef CombiFunction_PS
221#ifndef CASACORE_NO_AUTO_TEMPLATES
222#include <casacore/scimath/Functionals/CombiFunction.tcc>
223#include <casacore/scimath/Functionals/Combi2Function.tcc>
CombiFunction_PS< AutoDiff< T > > & operator=(const CombiFunction_PS< AutoDiff< T > > &other)
Make this object a (deep) copy of other.
CombiFunction_PS()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0.
CombiFunction_PS(const CombiFunction_PS< W > &other)
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
CombiFunction_PS(const CombiFunction_PS< AutoDiff< T > > &other)
Make this object a (deep) copy of other.
virtual AutoDiff< T > eval(typename Function< AutoDiff< T > >::FunctionArg x) const
Evaluate the function and its derivatives at x wrt to the coefficients.
virtual ~CombiFunction_PS()
Destructor.
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
CombiFunction()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0.
CombiFunction(const CombiFunction< T > &other, Bool)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the function at x.
CombiFunction(const CombiFunction< T > &other)
Make this object a (deep) copy of other.
CombiFunction(const CombiFunction< W > &other)
CombiFunction< T > & operator=(const CombiFunction< T > &other)
Make this object a (deep) copy of other.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual ~CombiFunction()
Destructor.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
CombiFunction(const CombiFunction< W > &other, Bool)
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
uInt nparameters() const
Returns the number of parameters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
PtrHolder< T > & operator=(const PtrHolder< T > &other)