29 #ifndef SCIMATH_CONSTANT_H 30 #define SCIMATH_CONSTANT_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/scimath/Functionals/ConstantNDParam.h> 35 #include <casacore/scimath/Functionals/Function.h> 36 #include <casacore/scimath/Mathematics/AutoDiff.h> 37 #include <casacore/scimath/Mathematics/AutoDiffMath.h> 150 #define ConstantND_PS ConstantND 176 ConstantND_PS<AutoDiff<T> > &
194 return new ConstantND_PS<AutoDiff<T> >(*this); };
217 #ifndef CASACORE_NO_AUTO_TEMPLATES 218 #include <casacore/scimath/Functionals/ConstantND.tcc> 219 #endif //# CASACORE_NO_AUTO_TEMPLATES uInt nparameters() const
Returns the number of parameters.
ConstantND< T > & operator=(const ConstantND< T > &other)
FunctionParam< T > param_p
The parameters and masks.
ConstantND(const ConstantND< T > &other)
Copy constructor/assignment (deep copy)
ConstantNDParam< T > & operator=(const ConstantNDParam< T > &other)
Copy assignment (deep copy)
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.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual ~ConstantND()
Destructor.
this file contains all the compiler specific defines
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const