28 #ifndef SCIMATH_LORENTZIAN1D_H 29 #define SCIMATH_LORENTZIAN1D_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/scimath/Functionals/Lorentzian1DParam.h> 34 #include <casacore/scimath/Functionals/Function1D.h> 35 #include <casacore/scimath/Mathematics/AutoDiff.h> 36 #include <casacore/scimath/Mathematics/AutoDiffMath.h> 196 #define Lorentzian1D_PS Lorentzian1D 233 Lorentzian1D_PS<AutoDiff<T> > &
272 #undef Lorentzian1D_PS 277 #ifndef CASACORE_NO_AUTO_TEMPLATES 278 #include "Lorentzian1D.tcc" 279 #include "Lorentzian1D2.tcc" 280 #endif //# CASACORE_NO_AUTO_TEMPLATES Lorentzian1D(const T &height)
Parameter handling for one dimensional Lorentzian class.
FunctionParam< T > param_p
The parameters and masks.
Lorentzian1D(const Lorentzian1D< W > &other)
T center() const
Get or set the center ordinate of the Lorentzian.
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Lorentzian at x.
Lorentzian1D(const Lorentzian1D< T > &other)
Copy constructor (deep copy)
virtual ~Lorentzian1D()
Destructor.
Lorentzian1D_PS(const AutoDiff< T > &height)
Lorentzian1D(const T &height, const T ¢er)
Lorentzian1D(const T &height, const T ¢er, const T &width)
A one dimensional Lorentzian class.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
T width() const
Get or set the FWHM of the Lorentzian.
Class that computes partial derivatives by automatic differentiation.
Numerical functional interface class for 1 dimension.
T fwhm2int
Constant to scale halfwidth at 1/e to FWHM.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Lorentzian1D()
Constructs the one dimensional Lorentzians.
this file contains all the compiler specific defines
Lorentzian1D< T > & operator=(const Lorentzian1D< T > &other)
Copy assignment (deep copy)
Lorentzian1DParam< T > & operator=(const Lorentzian1DParam< T > &other)
Copy assignment (deep copy)
T height() const
Get or set the peak height of the Lorentzian.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const