27 #ifndef SCIMATH_POISSONFUNCTION_H
28 #define SCIMATH_POISSONFUNCTION_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/scimath/Functionals/PoissonParam.h>
33 #include <casacore/scimath/Functionals/Function.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>
#define PoissonFunction_PS
const ArgType * FunctionArg
PoissonFunction_PS(const AutoDiff< T > &lambda)
PoissonFunction< T > & operator=(const PoissonFunction< T > &other)
Copy assignment (deep copy)
PoissonFunction()
Constructs the PoissonFunction, Defaults: lambda=1.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PoissonFunction(const PoissonFunction< T > &other)
Copy constructor (deep copy)
PoissonFunction(const PoissonFunction< W > &other)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
PoissonFunction(const T &lambda)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Poisson at x.
virtual ~PoissonFunction()
Destructor.
PoissonFunction(const T &lambda, const T &height)
T lambda() const
Get or set lambda.
PoissonParam< T > & operator=(const PoissonParam< T > &other)
Copy assignment (deep copy)
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)