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> > &
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)
FunctionParam< T > param_p
The parameters and masks.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
EvenPolynomialParam< T > & operator=(const EvenPolynomialParam< T > &other)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
EvenPolynomial_PS(uInt order)
virtual ~EvenPolynomial()
Destructor.
uInt nparameters() const
Returns the number of parameters.
EvenPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
#define EvenPolynomial_PS
uInt order() const
What is the order of the polynomial, i.e.
Class that computes partial derivatives by automatic differentiation.
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)
EvenPolynomial()
Constructs a zeroth order polynomial, with a coeficcient of 0.0.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
EvenPolynomial< T > & operator=(const EvenPolynomial< T > &other)
this file contains all the compiler specific defines