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> > &
257 *cloneNonAD()
const {
272 #undef Lorentzian1D_PS
277 #ifndef CASACORE_NO_AUTO_TEMPLATES
278 #include "Lorentzian1D.tcc"
279 #include "Lorentzian1D2.tcc"
T center() const
Get or set the center ordinate of the Lorentzian.
Lorentzian1DParam< T > & operator=(const Lorentzian1DParam< T > &other)
Copy assignment (deep copy)
T width() const
Get or set the FWHM of the Lorentzian.
T height() const
Get or set the peak height of the Lorentzian.
Lorentzian1D_PS(const AutoDiff< T > &height)
Lorentzian1D(const T &height, const T ¢er)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Lorentzian1D()
Constructs the one dimensional Lorentzians.
Lorentzian1D(const Lorentzian1D< T > &other)
Copy constructor (deep copy)
virtual ~Lorentzian1D()
Destructor.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Lorentzian1D(const Lorentzian1D< W > &other)
Lorentzian1D< T > & operator=(const Lorentzian1D< T > &other)
Copy assignment (deep copy)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Lorentzian at x.
Lorentzian1D(const T &height)
Lorentzian1D(const T &height, const T ¢er, const T &width)
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)