28 #ifndef SCIMATH_ODDPOLYNOMIAL_H
29 #define SCIMATH_ODDPOLYNOMIAL_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/OddPolynomialParam.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.h>
131 #define OddPolynomial_PS OddPolynomial
162 OddPolynomial_PS<AutoDiff<T> > &
187 *cloneNonAD()
const {
199 #undef OddPolynomial_PS
204 #ifndef CASACORE_NO_AUTO_TEMPLATES
205 #include <casacore/scimath/Functionals/OddPolynomial.tcc>
206 #include <casacore/scimath/Functionals/OddPolynomial2.tcc>
OddPolynomialParam< T > & operator=(const OddPolynomialParam< T > &other)
uInt order() const
What is the order of the polynomial, i.e.
OddPolynomial_PS(uInt order)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
OddPolynomial(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.
OddPolynomial< T > & operator=(const OddPolynomial< T > &other)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
OddPolynomial(const OddPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual ~OddPolynomial()
Destructor.
OddPolynomial(const OddPolynomial< W > &other)
OddPolynomial()
Constructs a first order polynomial, with a coeficcient of 0.0.
this file contains all the compiler specific defines
PtrHolder< T > & operator=(const PtrHolder< T > &other)