28 #ifndef SCIMATH_GAUSSIAN1D_H
29 #define SCIMATH_GAUSSIAN1D_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/Gaussian1DParam.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.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>
Gaussian1DParam< T > & operator=(const Gaussian1DParam< T > &other)
Copy assignment (deep copy)
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_PS(const AutoDiff< T > &height)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the Gaussian at x.
Gaussian1D()
Constructs the one dimensional Gaussians.
virtual ~Gaussian1D()
Destructor.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Gaussian1D(const Gaussian1D< T > &other)
Copy constructor (deep copy)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Gaussian1D(const T &height, const T ¢er, const T &width)
Gaussian1D(const T &height)
Gaussian1D(const T &height, const T ¢er)
Gaussian1D(const Gaussian1D< W > &other)
Gaussian1D< T > & operator=(const Gaussian1D< T > &other)
Copy assignment (deep copy)
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)