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