28 #ifndef SCIMATH_POLYNOMIAL_H 29 #define SCIMATH_POLYNOMIAL_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/scimath/Functionals/PolynomialParam.h> 34 #include <casacore/scimath/Functionals/Function1D.h> 35 #include <casacore/scimath/Mathematics/AutoDiff.h> 36 #include <casacore/scimath/Mathematics/AutoDiffMath.h> 140 #define Polynomial_PS Polynomial 171 Polynomial_PS<AutoDiff<T> > &
214 #ifndef CASACORE_NO_AUTO_TEMPLATES 215 #include <casacore/scimath/Functionals/Polynomial.tcc> 216 #include <casacore/scimath/Functionals/Polynomial2.tcc> 217 #endif //# CASACORE_NO_AUTO_TEMPLATES PolynomialParam< T > & operator=(const PolynomialParam< T > &other)
uInt nparameters() const
Returns the number of parameters.
FunctionParam< T > param_p
The parameters and masks.
Parameter handling for one-dimensional polynomials.
virtual T eval(typename Function1D< T >::FunctionArg x) const
Evaluate the polynomial at x.
Polynomial< T > & operator=(const Polynomial< T > &other)
virtual ~Polynomial()
Destructor.
Polynomial()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
A one dimensional polynomial class.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
Class that computes partial derivatives by automatic differentiation.
Polynomial(const Polynomial< W > &other)
Numerical functional interface class for 1 dimension.
Polynomial< T > derivative() const
Return the polynomial which is the derivative of this one.
virtual Function< T > * clone() const
Return a copy of this object from the heap.
Polynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
Polynomial_PS(uInt order)
uInt order() const
What is the order of the polynomial, i.e.
Polynomial(const Polynomial< T > &other)
Copy constructor/assignment (deep copy)
this file contains all the compiler specific defines