Go to the documentation of this file.
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>
221 #endif //# CASACORE_NO_AUTO_TEMPLATES
A one dimensional Poisson function.
PoissonFunction_PS< AutoDiff< T > > & operator=(const PoissonFunction_PS< AutoDiff< T > > &other)
Copy assignment (deep copy)
Class that computes partial derivatives by automatic differentiation.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
PoissonFunction< T > & operator=(const PoissonFunction< T > &other)
Copy assignment (deep copy)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual ~PoissonFunction_PS()
Destructor.
PoissonFunction_PS(const AutoDiff< T > &lambda, const AutoDiff< T > &height)
PoissonFunction_PS(const AutoDiff< T > &lambda)
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
#define PoissonFunction_PS
PoissonFunction(const PoissonFunction< W > &other)
virtual ~PoissonFunction()
Destructor.
PoissonParam< T > & operator=(const PoissonParam< T > &other)
Copy assignment (deep copy)
virtual AutoDiff< T > eval(typename Function< AutoDiff< T > >::FunctionArg x) const
Evaluate the Poisson and its derivatives at x.
A one dimensional Poisson function.
PoissonFunction(const T &lambda, const T &height)
PoissonFunction_PS()
Constructs one dimensional Poisson.
this file contains all the compiler specific defines
PoissonFunction_PS(const PoissonFunction_PS &other)
Copy constructor (deep copy)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
PoissonFunction_PS(const PoissonFunction_PS< W > &other)
Numerical functional interface class.
PoissonFunction(const T &lambda)
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Poisson at x.
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
PoissonFunction(const PoissonFunction< T > &other)
Copy constructor (deep copy)
PoissonFunction()
Constructs the PoissonFunction, Defaults: lambda=1.
T lambda() const
Get or set lambda.