28 #ifndef SCIMATH_GAUSSIAN1D_H
29 #define SCIMATH_GAUSSIAN1D_H
195 #define Gaussian1D_PS Gaussian1D
232 Gaussian1D_PS<AutoDiff<T> > &
256 *cloneNonAD()
const {
276 #ifndef CASACORE_NO_AUTO_TEMPLATES
277 #include <casacore/scimath/Functionals/Gaussian1D.tcc>
278 #include <casacore/scimath/Functionals/Gaussian1D2.tcc>
279 #endif //# CASACORE_NO_AUTO_TEMPLATES
Gaussian1D(const Gaussian1D< T > &other)
Copy constructor (deep copy)
Gaussian1D< T > & operator=(const Gaussian1D< T > &other)
Copy assignment (deep copy)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Gaussian1D()
Constructs the one dimensional Gaussians.
T center() const
Get or set the center ordinate of the Gaussian.
T width() const
Get or set the FWHM of the Gaussian.
T height() const
Get or set the peak height of the Gaussian.
Gaussian1D(const Gaussian1D< W > &other)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Gaussian at x.
Gaussian1D(const T &height, const T ¢er, const T &width)
Gaussian1D(const T &height, const T ¢er)
A one dimensional Gaussian class.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Class that computes partial derivatives by automatic differentiation.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Numerical functional interface class for 1 dimension.
Gaussian1D(const T &height)
Gaussian1D_PS(const AutoDiff< T > &height)
virtual ~Gaussian1D()
Destructor.
Gaussian1DParam< T > & operator=(const Gaussian1DParam< T > &other)
Copy assignment (deep copy)
Parameter handling for one dimensional Gaussian class.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.