Go to the documentation of this file.
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>
207 #endif //# CASACORE_NO_AUTO_TEMPLATES
EvenPolynomial_PS(const EvenPolynomial_PS< W > &other)
A one dimensional odd polynomial class.
Class that computes partial derivatives by automatic differentiation.
virtual ~EvenPolynomial()
Destructor.
EvenPolynomial_PS< AutoDiff< T > > & operator=(const EvenPolynomial_PS< AutoDiff< T > > &other)
Copy assignment (deep copy)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
EvenPolynomial< T > & operator=(const EvenPolynomial< T > &other)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
EvenPolynomial_PS(uInt order)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
uInt order() const
What is the order of the polynomial, i.e.
EvenPolynomial(const EvenPolynomial< W > &other)
EvenPolynomial(const EvenPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual Function< AutoDiff< T > > * clone() const
Return a copy of this object from the heap.
EvenPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual Function< typename FunctionTraits< AutoDiff< T > >::DiffType > * cloneAD() const
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
this file contains all the compiler specific defines
Parameter handling for even polynomials.
EvenPolynomialParam< T > & operator=(const EvenPolynomialParam< T > &other)
EvenPolynomial_PS()
Constructs one dimensional EvenPolynomials.
Numerical functional interface class for 1 dimension.
#define EvenPolynomial_PS
virtual Function< typename FunctionTraits< AutoDiff< T > >::BaseType > * cloneNonAD() const
virtual ~EvenPolynomial_PS()
Destructor.
EvenPolynomial()
Constructs a zeroth order polynomial, with a coeficcient of 0.0.
EvenPolynomial_PS(const EvenPolynomial_PS< AutoDiff< T > > &other)
Copy constructor (deep copy)