Go to the documentation of this file.
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
virtual T eval(typename Function< T >::FunctionArg x) const
Evaluate the polynomial at x.
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)
SPolynomialParam< T > & operator=(const SPolynomialParam< T > &other)
this file contains all the compiler specific defines
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,...
SPolynomial()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
virtual ~SPolynomial()
Destructor.
SPolynomial(const SPolynomial< T > &other)
Copy constructor/assignment (deep copy)
uInt order() const
What is the order of the polynomial, i.e.
SPolynomial(const SPolynomial< W > &other)