28 #ifndef SCIMATH_SPOLYNOMIALPARAM_H
29 #define SCIMATH_SPOLYNOMIALPARAM_H
40 template<
class T>
class Vector;
171 #ifndef CASACORE_NO_AUTO_TEMPLATES
172 #include <casacore/scimath/Functionals/SPolynomialParam.tcc>
173 #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
SPolynomialParam< T > & operator=(const SPolynomialParam< T > &other)
SPolynomialParam(const SPolynomialParam< W > &other)
virtual const String & name() const
Give name of function.
Vector< T > coefficients() const
Return all the coefficients as a vector.
Bool operator==(const SPolynomialParam< T > &other) const
Comparisons.
virtual uInt ndim() const
Returns the dimension of function.
Numerical functional interface class.
Parameter handling for scaled 1-D polynomials.
#define DebugAssert(expr, exception)
bool Bool
Define the standard types used by Casacore.
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
uInt order() const
What is the order of the polynomial, i.e.
Base class for all Casacore library errors.
String: the storage and methods of handling collections of characters.
SPolynomialParam()
Constructs a zero'th order polynomial, with a coeficcient of 0.0.
~SPolynomialParam()
Destructor.
Bool operator!=(const SPolynomialParam< T > &other) const
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
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.