26#ifndef SCIMATH_CONSTANT_H 
   27#define SCIMATH_CONSTANT_H 
   30#include <casacore/casa/aips.h> 
   31#include <casacore/scimath/Functionals/ConstantNDParam.h> 
   32#include <casacore/scimath/Functionals/Function.h> 
   33#include <casacore/scimath/Mathematics/AutoDiff.h> 
   34#include <casacore/scimath/Mathematics/AutoDiffMath.h> 
  147#define ConstantND_PS ConstantND 
  173  ConstantND_PS<AutoDiff<T> > &
 
 
  191    return new ConstantND_PS<AutoDiff<T> >(*this); };
 
  197    *cloneNonAD()
 const {
 
 
 
  214#ifndef CASACORE_NO_AUTO_TEMPLATES 
  215#include <casacore/scimath/Functionals/ConstantND.tcc> 
ConstantNDParam< T > & operator=(const ConstantNDParam< T > &other)
Copy assignment (deep copy)
 
ConstantND_PS(const ConstantND_PS< AutoDiff< T > > &other)
Copy constructor/assignment (deep copy)
 
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() 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 AutoDiff< T > eval(typename Function< AutoDiff< T > >::FunctionArg x) const
Evaluate the constant function at (x0,x1,..,xm-1).
 
ConstantND_PS(const uInt m=0)
Constructors a constant in a space of dimensionality m.
 
ConstantND_PS(const ConstantND_PS< W > &other)
 
virtual ~ConstantND()
Destructor.
 
ConstantND_PS< AutoDiff< T > > & operator=(const ConstantND_PS< AutoDiff< T > > &other)
 
ConstantND(const ConstantND< T > &other)
Copy constructor/assignment (deep copy)
 
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
 
virtual Function< T > * clone() const
Return a copy of this object from the heap.
 
ConstantND< T > & operator=(const ConstantND< T > &other)
 
virtual ~ConstantND()
Destructor.
 
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the hyper plane function at (x0,x1,..,xm-1).
 
ConstantND(const uInt m=0)
Construct a constant in an a space of dimensionality m.
 
ConstantND(const ConstantND< W > &other)
 
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
 
FunctionParam< T > param_p
The parameters and masks.
 
uInt nparameters() const
Returns the number of parameters.
 
this file contains all the compiler specific defines
 
PtrHolder< T > & operator=(const PtrHolder< T > &other)