28 #ifndef SCIMATH_SPOLYNOMIAL_H
29 #define SCIMATH_SPOLYNOMIAL_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.
SPolynomialParam< T > & operator=(const SPolynomialParam< T > &other)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
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.
SPolynomial(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero, and height, center, width to 1,0,1.
uInt order() const
What is the order of the polynomial, i.e.
virtual ~SPolynomial()
Destructor.
SPolynomial(const SPolynomial< T > &other)
Copy constructor/assignment (deep copy)
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the polynomial at x.
SPolynomial(const SPolynomial< W > &other)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.