28 #ifndef SCIMATH_SPOLYNOMIAL_H 29 #define SCIMATH_SPOLYNOMIAL_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/scimath/Functionals/SPolynomialParam.h> 34 #include <casacore/scimath/Functionals/Function.h> 35 #include <casacore/scimath/Mathematics/AutoDiff.h> 36 #include <casacore/scimath/Mathematics/AutoDiffMath.h> 134 #ifndef CASACORE_NO_AUTO_TEMPLATES 135 #include <casacore/scimath/Functionals/SPolynomial.tcc> 136 #endif //# CASACORE_NO_AUTO_TEMPLATES A one dimensional scaled polynomial class.
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the polynomial at x.
SPolynomialParam< T > & operator=(const SPolynomialParam< T > &other)
uInt order() const
What is the order of the polynomial, i.e.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual Function< T > * clone() const
Return a copy of this object from the heap.
SPolynomial< T > & operator=(const SPolynomial< T > &other)
Numerical functional interface class.
Parameter handling for scaled 1-D polynomials.
SPolynomial()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
SPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero, and height, center, width to 1,0,1.
virtual ~SPolynomial()
Destructor.
SPolynomial(const SPolynomial< T > &other)
Copy constructor/assignment (deep copy)
this file contains all the compiler specific defines
SPolynomial(const SPolynomial< W > &other)