28 #ifndef SCIMATH_LORENTZIAN1D_H
29 #define SCIMATH_LORENTZIAN1D_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"
280 #endif //# CASACORE_NO_AUTO_TEMPLATES
Lorentzian1D(const T &height)
Parameter handling for one dimensional Lorentzian class.
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)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
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.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
Numerical functional interface class for 1 dimension.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Lorentzian1D()
Constructs the one dimensional Lorentzians.
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
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.