28 #ifndef SCIMATH_EVENPOLYNOMIAL_H
29 #define SCIMATH_EVENPOLYNOMIAL_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/EvenPolynomialParam.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.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>
#define EvenPolynomial_PS
EvenPolynomialParam< T > & operator=(const EvenPolynomialParam< T > &other)
uInt order() const
What is the order of the polynomial, i.e.
EvenPolynomial_PS(uInt order)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
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)
virtual ~EvenPolynomial()
Destructor.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
EvenPolynomial(const EvenPolynomial< W > &other)
EvenPolynomial(const EvenPolynomial< T > &other)
Copy constructor/assignment (deep copy)
EvenPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)