29 #ifndef SCIMATH_CONSTANT_H
30 #define SCIMATH_CONSTANT_H
150 #define ConstantND_PS ConstantND
176 ConstantND_PS<AutoDiff<T> > &
194 return new ConstantND_PS<AutoDiff<T> >(*this); };
200 *cloneNonAD()
const {
217 #ifndef CASACORE_NO_AUTO_TEMPLATES
218 #include <casacore/scimath/Functionals/ConstantND.tcc>
219 #endif //# CASACORE_NO_AUTO_TEMPLATES
ConstantND< T > & operator=(const ConstantND< T > &other)
ConstantND(const ConstantND< T > &other)
Copy constructor/assignment (deep copy)
ConstantNDParam< T > & operator=(const ConstantNDParam< T > &other)
Copy assignment (deep copy)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
Parameter handling for a constant function in a space of arbitrary dimensionality.
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the hyper plane function at (x0,x1,..,xm-1).
ConstantND(const ConstantND< W > &other)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Numerical functional interface class.
Class that computes partial derivatives by automatic differentiation.
ConstantND(const uInt m=0)
Construct a constant in an a space of dimensionality m.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual ~ConstantND()
Destructor.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.