26#ifndef SCIMATH_POLYNOMIALPARAM_H
27#define SCIMATH_POLYNOMIALPARAM_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/Arrays/ArrayFwd.h>
32#include <casacore/casa/BasicSL/String.h>
33#include <casacore/casa/Utilities/Assert.h>
34#include <casacore/scimath/Functionals/Function1D.h>
128 virtual const String &
name()
const {
129 static String x(
"polynomial");
140 return param_p[which];
149 param_p[which] =
value;
165#ifndef CASACORE_NO_AUTO_TEMPLATES
166#include <casacore/scimath/Functionals/PolynomialParam.tcc>
#define DebugAssert(expr, exception)
bool operator==(const String &x, const String &y)
Global comparison operators.
For temporary backward namespace compatibility, use casa as alias for casacore.
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
~PolynomialParam()
Destructor.
String name() const
Return the name of the field.
uInt order() const
What is the order of the polynomial, i.e.
bool Bool
Define the standard types used by Casacore.
bool operator!=(const String &x, const String &y)
NewDelAllocator< T > NewDelAllocator< T >::value
Block< T > & operator=(const T &val)
Set all values in the block to "val".