Go to the documentation of this file.
28 #ifndef SCIMATH_EVENPOLYNOMIALPARAM_H
29 #define SCIMATH_EVENPOLYNOMIALPARAM_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/Function1D.h>
34 #include <casacore/casa/Utilities/Assert.h>
39 template<
class T>
class Vector;
164 #ifndef CASACORE_NO_AUTO_TEMPLATES
165 #include <casacore/scimath/Functionals/EvenPolynomialParam.tcc>
166 #endif //# CASACORE_NO_AUTO_TEMPLATES
EvenPolynomialParam(const EvenPolynomialParam< W > &other)
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
uInt order() const
What is the order of the polynomial, i.e.
Bool operator!=(const EvenPolynomialParam< T > &other) const
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
#define DebugAssert(expr, exception)
FunctionParam< T > param_p
The parameters and masks.
EvenPolynomialParam(const EvenPolynomialParam< T > &other)
Make this a copy of other (deep copy).
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
EvenPolynomialParam(uInt order)
Makes a polynomial of the given order, with all coeficcients set to zero.
virtual const String & name() const
Give name of function.
this file contains all the compiler specific defines
~EvenPolynomialParam()
Destructor.
Parameter handling for even polynomials.
EvenPolynomialParam< T > & operator=(const EvenPolynomialParam< T > &other)
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
String: the storage and methods of handling collections of characters.
Numerical functional interface class for 1 dimension.
bool Bool
Define the standard types used by Casacore.
EvenPolynomialParam()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
A 1-D Specialization of the Array class.
Bool operator==(const EvenPolynomialParam< T > &other) const
Comparisons.
Base class for all Casacore library errors.