28 #ifndef SCIMATH_POLYNOMIAL_H
29 #define SCIMATH_POLYNOMIAL_H
140 #define Polynomial_PS Polynomial
171 Polynomial_PS<AutoDiff<T> > &
196 *cloneNonAD()
const {
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)
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.
PtrHolder< T > & operator=(const PtrHolder< T > &other)
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.
casacore::Bool clone(const casacore::String &imageName, const casacore::String &newImageName)
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)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.