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> > &
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 FunctionParam< T > param_p
The parameters and masks.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
A one dimensional Poisson function.
PoissonFunction(const PoissonFunction< W > &other)
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Poisson at x.
PoissonFunction(const PoissonFunction< T > &other)
Copy constructor (deep copy)
PoissonFunction(const T &lambda, const T &height)
A one dimensional Poisson function.
PoissonParam< T > & operator=(const PoissonParam< T > &other)
Copy assignment (deep copy)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PoissonFunction()
Constructs the PoissonFunction, Defaults: lambda=1.
PoissonFunction(const T &lambda)
#define PoissonFunction_PS
Numerical functional interface class.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
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)
this file contains all the compiler specific defines
T lambda() const
Get or set lambda.