28 #ifndef SCIMATH_POWERLOGARITHMICPOLYNOMIALPARAM_H
29 #define SCIMATH_POWERLOGARITHMICPOLYNOMIALPARAM_H
40 template<
class T>
class Vector;
152 #ifndef CASACORE_NO_AUTO_TEMPLATES
153 #include <casacore/scimath/Functionals/PowerLogarithmicPolynomialParam.tcc>
154 #endif //# CASACORE_NO_AUTO_TEMPLATES
uInt nparameters() const
Returns the number of parameters.
A 1-D Specialization of the Array class.
FunctionParam< T > param_p
The parameters and masks.
std::vector< double > Vector
Bool operator!=(const PowerLogarithmicPolynomialParam< T > &other) const
virtual ~PowerLogarithmicPolynomialParam()
Destructor.
virtual const String & name() const
Give name of function.
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
PowerLogarithmicPolynomialParam()
Constructs a function with two coefficients, both 1 (so y = x).
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
#define DebugAssert(expr, exception)
bool Bool
Define the standard types used by Casacore.
Parameter handling for one-dimensional power logarithmic polynomials.
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
Numerical functional interface class for 1 dimension.
Bool operator==(const PowerLogarithmicPolynomialParam< T > &other) const
Comparisons.
Base class for all Casacore library errors.
PowerLogarithmicPolynomialParam(const PowerLogarithmicPolynomialParam< W > &other)
String: the storage and methods of handling collections of characters.
PowerLogarithmicPolynomialParam< T > & operator=(const PowerLogarithmicPolynomialParam< T > &other)
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.