28 #ifndef SCIMATH_ODDPOLYNOMIALPARAM_H
29 #define SCIMATH_ODDPOLYNOMIALPARAM_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/ArrayFwd.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/casa/BasicSL/String.h>
36 #include <casacore/casa/Utilities/Assert.h>
163 #ifndef CASACORE_NO_AUTO_TEMPLATES
164 #include <casacore/scimath/Functionals/OddPolynomialParam.tcc>
#define DebugAssert(expr, exception)
FunctionParam< T > param_p
The parameters and masks.
OddPolynomialParam(const OddPolynomialParam< T > &other)
Make this a copy of other (deep copy).
Bool operator==(const OddPolynomialParam< T > &other) const
Comparisons.
OddPolynomialParam< T > & operator=(const OddPolynomialParam< T > &other)
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
OddPolynomialParam(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
uInt order() const
What is the order of the polynomial, i.e.
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
OddPolynomialParam()
Constructs a first order polynomial, with a coeficcient of 0.0.
virtual const String & name() const
Give name of function.
~OddPolynomialParam()
Destructor.
Bool operator!=(const OddPolynomialParam< T > &other) const
OddPolynomialParam(const OddPolynomialParam< W > &other)
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.