28 #ifndef SCIMATH_EVENPOLYNOMIAL_H
29 #define SCIMATH_EVENPOLYNOMIAL_H
131 #define EvenPolynomial_PS EvenPolynomial
162 EvenPolynomial_PS<AutoDiff<T> > &
187 *cloneNonAD()
const {
199 #undef EvenPolynomial_PS
204 #ifndef CASACORE_NO_AUTO_TEMPLATES
205 #include <casacore/scimath/Functionals/EvenPolynomial.tcc>
206 #include <casacore/scimath/Functionals/EvenPolynomial2.tcc>
207 #endif //# CASACORE_NO_AUTO_TEMPLATES
EvenPolynomial(const EvenPolynomial< W > &other)
EvenPolynomialParam< T > & operator=(const EvenPolynomialParam< T > &other)
EvenPolynomial_PS(uInt order)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
virtual ~EvenPolynomial()
Destructor.
EvenPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
#define EvenPolynomial_PS
uInt order() const
What is the order of the polynomial, i.e.
Class that computes partial derivatives by automatic differentiation.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Numerical functional interface class for 1 dimension.
Parameter handling for even polynomials.
A one dimensional odd polynomial class.
EvenPolynomial(const EvenPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
EvenPolynomial()
Constructs a zeroth order polynomial, with a coeficcient of 0.0.
EvenPolynomial< T > & operator=(const EvenPolynomial< T > &other)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.