casa
$Rev:20696$
|
Partial specialization of Gaussian3D for AutoDiff
More...
#include <Gaussian3D.h>
Public Member Functions | |
Gaussian3D_PS () | |
Gaussian3D_PS (const AutoDiff< T > &height, const Vector< AutoDiff< T > > ¢er, const Vector< AutoDiff< T > > &width, const AutoDiff< T > &theta, const AutoDiff< T > &phi) | |
Gaussian3D_PS (AutoDiff< T > &height, AutoDiff< T > &xCenter, AutoDiff< T > &yCenter, AutoDiff< T > &zCenter, AutoDiff< T > &xWidth, AutoDiff< T > &yWidth, AutoDiff< T > &zWidth, AutoDiff< T > &theta, AutoDiff< T > &phi) | |
Gaussian3D_PS (const Gaussian3D_PS< AutoDiff< T > > &other) | |
template<class W > | |
Gaussian3D_PS (const Gaussian3D_PS< W > &other) | |
virtual | ~Gaussian3D_PS () |
Gaussian3D_PS< AutoDiff< T > > & | operator= (const Gaussian3D_PS< AutoDiff< T > > &other) |
virtual AutoDiff< T > | eval (typename Function< AutoDiff< T > >::FunctionArg x) const |
virtual Function< AutoDiff< T > > * | clone () const |
Return a copy of this object from the heap. | |
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * | cloneAD () const |
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * | cloneNonAD () const |
Private Member Functions | |
T | sq (T v) const |
Partial specialization of Gaussian3D for AutoDiff
Warning: The name Gaussian3D_PS
is only for cxx2html documentation problems; Use Gaussian3D
in your code;
Definition at line 233 of file Gaussian3D.h.
casa::Gaussian3D_PS< AutoDiff< T > >::Gaussian3D_PS | ( | ) |
casa::Gaussian3D_PS< AutoDiff< T > >::Gaussian3D_PS | ( | const AutoDiff< T > & | height, |
const Vector< AutoDiff< T > > & | center, | ||
const Vector< AutoDiff< T > > & | width, | ||
const AutoDiff< T > & | theta, | ||
const AutoDiff< T > & | phi | ||
) |
casa::Gaussian3D_PS< AutoDiff< T > >::Gaussian3D_PS | ( | AutoDiff< T > & | height, |
AutoDiff< T > & | xCenter, | ||
AutoDiff< T > & | yCenter, | ||
AutoDiff< T > & | zCenter, | ||
AutoDiff< T > & | xWidth, | ||
AutoDiff< T > & | yWidth, | ||
AutoDiff< T > & | zWidth, | ||
AutoDiff< T > & | theta, | ||
AutoDiff< T > & | phi | ||
) |
casa::Gaussian3D_PS< AutoDiff< T > >::Gaussian3D_PS | ( | const Gaussian3D_PS< AutoDiff< T > > & | other | ) |
casa::Gaussian3D_PS< AutoDiff< T > >::Gaussian3D_PS | ( | const Gaussian3D_PS< W > & | other | ) | [inline] |
Definition at line 249 of file Gaussian3D.h.
virtual casa::Gaussian3D_PS< AutoDiff< T > >::~Gaussian3D_PS | ( | ) | [virtual] |
virtual Function<AutoDiff<T> >* casa::Gaussian3D_PS< AutoDiff< T > >::clone | ( | ) | const [virtual] |
Return a copy of this object from the heap.
The caller is responsible for deleting this pointer. The cloneAD
will return a clone with an AutoDef<T>
; the cloneNonAD
a clone with <T>
. An AipsError
will be thrown if the cloneAD()
or cloneNonAD()
is not implemented for a specific function.
Implements casa::Function< AutoDiff< T > >.
virtual Function<typename FunctionTraits<AutoDiff<T> >::DiffType>* casa::Gaussian3D_PS< AutoDiff< T > >::cloneAD | ( | ) | const [inline, virtual] |
Reimplemented from casa::Function< AutoDiff< T > >.
Definition at line 258 of file Gaussian3D.h.
virtual Function<typename FunctionTraits<AutoDiff<T> >::BaseType>* casa::Gaussian3D_PS< AutoDiff< T > >::cloneNonAD | ( | ) | const [inline, virtual] |
Reimplemented from casa::Function< AutoDiff< T > >.
Definition at line 262 of file Gaussian3D.h.
virtual AutoDiff<T> casa::Gaussian3D_PS< AutoDiff< T > >::eval | ( | typename Function< AutoDiff< T > >::FunctionArg | x | ) | const [virtual] |
Gaussian3D_PS<AutoDiff<T> >& casa::Gaussian3D_PS< AutoDiff< T > >::operator= | ( | const Gaussian3D_PS< AutoDiff< T > > & | other | ) |
T casa::Gaussian3D_PS< AutoDiff< T > >::sq | ( | T | v | ) | const [private] |