28 #ifndef SCIMATH_GAUSSIAN3D_H
29 #define SCIMATH_GAUSSIAN3D_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/Arrays/ArrayFwd.h>
33 #include <casacore/scimath/Functionals/Gaussian3DParam.h>
34 #include <casacore/scimath/Functionals/Function.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.h>
221 #define Gaussian3D_PS Gaussian3D
261 *cloneNonAD()
const {
300 #ifndef CASACORE_NO_AUTO_TEMPLATES
301 #include <casacore/scimath/Functionals/Gaussian3D.tcc>
302 #include <casacore/scimath/Functionals/Gaussian3D2.tcc>
#define Gaussian3D_PS
AUTODIFF SPECIALIZATION.
const ArgType * FunctionArg
T height() const
Get or set the peak height of the Gaussian.
Vector< T > center() const
Get or cet the center coordinates of the Gaussian.
Vector< T > width() const
Get or set the sigma-width of the Gaussian.
T theta() const
Get or set the rotation angles of the Gaussian.
Gaussian3D_PS(const AutoDiff< T > &height, const Vector< AutoDiff< T > > ¢er, const Vector< AutoDiff< T > > &width, const AutoDiff< T > &theta, const AutoDiff< T > &phi)
virtual ~Gaussian3D()
Destructor.
Gaussian3D< T > & operator=(const Gaussian3D< T > &other)
Assignment operator.
Gaussian3D(const Gaussian3D< T > &other)
Copy constructor.
Gaussian3D(T &height, T &xCenter, T &yCenter, T &zCenter, T &xWidth, T &yWidth, T &zWidth, T &theta, T &phi)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Gaussian3D(const Gaussian3D< W > &other)
Gaussian3D(T height, const Vector< T > ¢er, const Vector< T > &width, T theta, T phi)
Gaussian3D()
A functional for a rotated, 3D Gaussian.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Gaussian at x.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
T sq(T v) const
AutoDiff does not have a square() function, so one is provided here.
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)