28 #ifndef SCIMATH_ODDPOLYNOMIAL_H
29 #define SCIMATH_ODDPOLYNOMIAL_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>
207 #endif //# CASACORE_NO_AUTO_TEMPLATES
OddPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
OddPolynomialParam< T > & operator=(const OddPolynomialParam< T > &other)
OddPolynomial()
Constructs a first order polynomial, with a coeficcient of 0.0.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
OddPolynomial(const OddPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual ~OddPolynomial()
Destructor.
OddPolynomial< T > & operator=(const OddPolynomial< T > &other)
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
A one dimensional odd polynomial class.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Class that computes partial derivatives by automatic differentiation.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
uInt order() const
What is the order of the polynomial, i.e.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
Numerical functional interface class for 1 dimension.
OddPolynomial(const OddPolynomial< W > &other)
Parameter handling for odd polynomials.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
OddPolynomial_PS(uInt order)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.