28 #ifndef SCIMATH_EVENPOLYNOMIALPARAM_H
29 #define SCIMATH_EVENPOLYNOMIALPARAM_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
A 1-D Specialization of the Array class.
FunctionParam< T > param_p
The parameters and masks.
std::vector< double > Vector
virtual const String & name() const
Give name of function.
~EvenPolynomialParam()
Destructor.
EvenPolynomialParam< T > & operator=(const EvenPolynomialParam< T > &other)
EvenPolynomialParam()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
Bool operator!=(const EvenPolynomialParam< T > &other) const
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
Bool operator==(const EvenPolynomialParam< T > &other) const
Comparisons.
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
#define DebugAssert(expr, exception)
EvenPolynomialParam(const EvenPolynomialParam< W > &other)
uInt order() const
What is the order of the polynomial, i.e.
bool Bool
Define the standard types used by Casacore.
Numerical functional interface class for 1 dimension.
Base class for all Casacore library errors.
Parameter handling for even polynomials.
String: the storage and methods of handling collections of characters.
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.