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> > &
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 FunctionParam< T > param_p
The parameters and masks.
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.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
OddPolynomial(const OddPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual ~OddPolynomial()
Destructor.
uInt nparameters() const
Returns the number of parameters.
OddPolynomial< T > & operator=(const OddPolynomial< T > &other)
A one dimensional odd polynomial class.
uInt order() const
What is the order of the polynomial, i.e.
Class that computes partial derivatives by automatic differentiation.
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
Numerical functional interface class for 1 dimension.
OddPolynomial(const OddPolynomial< W > &other)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
this file contains all the compiler specific defines
Parameter handling for odd polynomials.
OddPolynomial_PS(uInt order)