26#ifndef SCIMATH_SPOLYNOMIAL_H
27#define SCIMATH_SPOLYNOMIAL_H
30#include <casacore/casa/aips.h>
31#include <casacore/scimath/Functionals/SPolynomialParam.h>
32#include <casacore/scimath/Functionals/Function.h>
33#include <casacore/scimath/Mathematics/AutoDiff.h>
34#include <casacore/scimath/Mathematics/AutoDiffMath.h>
132#ifndef CASACORE_NO_AUTO_TEMPLATES
133#include <casacore/scimath/Functionals/SPolynomial.tcc>
FunctionParam< T > param_p
The parameters and masks.
uInt nparameters() const
Returns the number of parameters.
SPolynomialParam< T > & operator=(const SPolynomialParam< T > &other)
uInt order() const
What is the order of the polynomial, i.e.
virtual Function< typename FunctionTraits< T >::BaseType > * cloneNonAD() const
virtual ~SPolynomial()
Destructor.
SPolynomial(const SPolynomial< W > &other)
virtual Function< typename FunctionTraits< T >::DiffType > * cloneAD() const
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)
virtual Function< T > * clone() const
Return a copy of this object from the heap.
this file contains all the compiler specific defines
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.