28 #ifndef SCIMATH_POWERLOGARITHMICPOLYNOMIALPARAM_H
29 #define SCIMATH_POWERLOGARITHMICPOLYNOMIALPARAM_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/BasicSL/String.h>
34 #include <casacore/casa/Utilities/Assert.h>
35 #include <casacore/scimath/Functionals/Function1D.h>
36 #include <casacore/casa/Arrays/ArrayFwd.h>
37 #include <casacore/casa/vector.h>
151 #ifndef CASACORE_NO_AUTO_TEMPLATES
152 #include <casacore/scimath/Functionals/PowerLogarithmicPolynomialParam.tcc>
#define DebugAssert(expr, exception)
FunctionParam< T > param_p
The parameters and masks.
uInt nparameters() const
Returns the number of parameters.
PowerLogarithmicPolynomialParam< T > & operator=(const PowerLogarithmicPolynomialParam< T > &other)
virtual ~PowerLogarithmicPolynomialParam()
Destructor.
void setCoefficient(uInt which, const T value)
Set the which'th coefficient to value.
PowerLogarithmicPolynomialParam(const PowerLogarithmicPolynomialParam< T > &other)
Make this a copy of other (deep copy).
virtual const String & name() const
Give name of function.
const Vector< T > & coefficients() const
Return all the coefficients as a vector.
PowerLogarithmicPolynomialParam(const PowerLogarithmicPolynomialParam< W > &other)
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
PowerLogarithmicPolynomialParam(const vector< T > &parms)
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).
Bool operator!=(const PowerLogarithmicPolynomialParam< T > &other) const
Bool operator==(const PowerLogarithmicPolynomialParam< T > &other) const
Comparisons.
PowerLogarithmicPolynomialParam(uInt n)
Makes a polynomial of the specified number of coefficients, all set to zero.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.