28 #ifndef SCIMATH_POLYNOMIALPARAM_H
29 #define SCIMATH_POLYNOMIALPARAM_H
163 #ifndef CASACORE_NO_AUTO_TEMPLATES
164 #include <casacore/scimath/Functionals/PolynomialParam.tcc>
165 #endif //# CASACORE_NO_AUTO_TEMPLATES
PolynomialParam< T > & operator=(const PolynomialParam< T > &other)
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
virtual const String & name() const
Give name of function.
FunctionParam< T > param_p
The parameters and masks.
PolynomialParam()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
PolynomialParam(const PolynomialParam< W > &other)
Parameter handling for one-dimensional polynomials.
~PolynomialParam()
Destructor.
Bool operator!=(const PolynomialParam< T > &other) const
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
#define DebugAssert(expr, exception)
bool Bool
Define the standard types used by Casacore.
Bool operator==(const PolynomialParam< T > &other) const
Comparisons.
Numerical functional interface class for 1 dimension.
Base class for all Casacore library errors.
String: the storage and methods of handling collections of characters.
uInt order() const
What is the order of the polynomial, i.e.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.