28 #ifndef SCIMATH_GAUSSIAN3D_H
29 #define SCIMATH_GAUSSIAN3D_H
39 template<
class T>
class Vector;
223 #define Gaussian3D_PS Gaussian3D
263 *cloneNonAD()
const {
302 #ifndef CASACORE_NO_AUTO_TEMPLATES
303 #include <casacore/scimath/Functionals/Gaussian3D.tcc>
304 #include <casacore/scimath/Functionals/Gaussian3D2.tcc>
305 #endif //# CASACORE_NO_AUTO_TEMPLATES
T height() const
Get or set the peak height of the Gaussian.
A 1-D Specialization of the Array class.
std::vector< double > Vector
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the Gaussian at x.
T theta() const
Get or set the rotation angles of the Gaussian.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
Gaussian3D(const Gaussian3D< W > &other)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Vector< T > center() const
Get or cet the center coordinates of the Gaussian.
Parameter handling for 3 dimensional Gaussian class.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
Gaussian3D()
A functional for a rotated, 3D Gaussian.
Numerical functional interface class.
Vector< T > width() const
Get or set the sigma-width of the Gaussian.
virtual ~Gaussian3D()
Destructor.
Class that computes partial derivatives by automatic differentiation.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
A three dimensional Gaussian class.
Gaussian3D< T > & operator=(const Gaussian3D< T > &other)
Assignment operator.
T sq(T v) const
AutoDiff does not have a square() function, so one is provided here.
#define Gaussian3D_PS
AUTODIFF SPECIALIZATION.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.