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>
const ArgType * FunctionArg
uInt order() const
What is the order of the polynomial, i.e.
SPolynomialParam< T > & operator=(const SPolynomialParam< T > &other)
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
virtual ~SPolynomial()
Destructor.
SPolynomial(const SPolynomial< W > &other)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
SPolynomial< T > & operator=(const SPolynomial< T > &other)
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,...
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the polynomial at x.
SPolynomial(const SPolynomial< T > &other)
Copy constructor/assignment (deep copy)
this file contains all the compiler specific defines