casa
$Rev:20696$
|
Partial specialization of ConstantND for AutoDiff
More...
#include <ConstantND.h>
Public Member Functions | |
ConstantND_PS (const uInt m=0) | |
Constructors a constant in a space of dimensionality m . | |
ConstantND_PS (const ConstantND_PS< AutoDiff< T > > &other) | |
Copy constructor/assignment (deep copy) | |
template<class W > | |
ConstantND_PS (const ConstantND_PS< W > &other) | |
ConstantND_PS< AutoDiff< T > > & | operator= (const ConstantND_PS< AutoDiff< T > > &other) |
virtual | ~ConstantND () |
Destructor. | |
virtual AutoDiff< T > | eval (typename Function< AutoDiff< T > >::FunctionArg x) const |
Evaluate the constant function at (x0,x1,..,xm-1). | |
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 |
Partial specialization of ConstantND for AutoDiff
Warning: The name HyperPlane_PS
is only for cxx2html documentation problems; Use HyperPlane
in your code;
Definition at line 159 of file ConstantND.h.
casa::ConstantND_PS< AutoDiff< T > >::ConstantND_PS | ( | const uInt | m = 0 | ) | [inline, explicit] |
Constructors a constant in a space of dimensionality m
.
By default, the coefficients are initialized to zero, and m=0
Definition at line 166 of file ConstantND.h.
casa::ConstantND_PS< AutoDiff< T > >::ConstantND_PS | ( | const ConstantND_PS< AutoDiff< T > > & | other | ) | [inline] |
Copy constructor/assignment (deep copy)
Definition at line 170 of file ConstantND.h.
casa::ConstantND_PS< AutoDiff< T > >::ConstantND_PS | ( | const ConstantND_PS< W > & | other | ) | [inline] |
Definition at line 173 of file ConstantND.h.
virtual casa::ConstantND_PS< AutoDiff< T > >::~ConstantND | ( | ) | [inline, virtual] |
Destructor.
Definition at line 181 of file ConstantND.h.
virtual Function<AutoDiff<T> >* casa::ConstantND_PS< AutoDiff< T > >::clone | ( | ) | const [inline, virtual] |
Return a copy of this object from the heap.
The caller is responsible for deleting the pointer.
Implements casa::Function< AutoDiff< T > >.
Definition at line 192 of file ConstantND.h.
virtual Function<typename FunctionTraits<AutoDiff<T> >::DiffType>* casa::ConstantND_PS< AutoDiff< T > >::cloneAD | ( | ) | const [inline, virtual] |
Reimplemented from casa::Function< AutoDiff< T > >.
Definition at line 195 of file ConstantND.h.
virtual Function<typename FunctionTraits<AutoDiff<T> >::BaseType>* casa::ConstantND_PS< AutoDiff< T > >::cloneNonAD | ( | ) | const [inline, virtual] |
Reimplemented from casa::Function< AutoDiff< T > >.
Definition at line 199 of file ConstantND.h.
virtual AutoDiff<T> casa::ConstantND_PS< AutoDiff< T > >::eval | ( | typename Function< AutoDiff< T > >::FunctionArg | x | ) | const [virtual] |
Evaluate the constant function at (x0,x1,..,xm-1).
ConstantND_PS<AutoDiff<T> >& casa::ConstantND_PS< AutoDiff< T > >::operator= | ( | const ConstantND_PS< AutoDiff< T > > & | other | ) | [inline] |
Definition at line 176 of file ConstantND.h.