27 #ifndef SCIMATH_POISSONFUNCTION_H
28 #define SCIMATH_POISSONFUNCTION_H
138 #define PoissonFunction_PS PoissonFunction
173 PoissonFunction_PS<AutoDiff<T> > &
199 *cloneNonAD()
const {
213 #undef PoissonFunction_PS
218 #ifndef CASACORE_NO_AUTO_TEMPLATES
219 #include <casacore/scimath/Functionals/PoissonFunction.tcc>
220 #include <casacore/scimath/Functionals/PoissonFunction2.tcc>
221 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Poisson at x.
A one dimensional Poisson function.
PoissonFunction(const PoissonFunction< W > &other)
T lambda() const
Get or set lambda.
PoissonFunction(const PoissonFunction< T > &other)
Copy constructor (deep copy)
PoissonFunction(const T &lambda, const T &height)
A one dimensional Poisson function.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PoissonParam< T > & operator=(const PoissonParam< T > &other)
Copy assignment (deep copy)
PoissonFunction()
Constructs the PoissonFunction, Defaults: lambda=1.
PoissonFunction(const T &lambda)
#define PoissonFunction_PS
Numerical functional interface class.
Class that computes partial derivatives by automatic differentiation.
virtual ~PoissonFunction()
Destructor.
PoissonFunction_PS(const AutoDiff< T > &lambda)
PoissonFunction< T > & operator=(const PoissonFunction< T > &other)
Copy assignment (deep copy)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const