Go to the documentation of this file.
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>
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
Bool operator!=(const PowerLogarithmicPolynomialParam< T > &other) const
void setCoefficients(const Vector< T > &coefficients)
Set all the coefficients at once, throw away all existing coefficients.
uInt nparameters() const
Returns the number of parameters.
virtual ~PowerLogarithmicPolynomialParam()
Destructor.
PowerLogarithmicPolynomialParam< T > & operator=(const PowerLogarithmicPolynomialParam< T > &other)
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.
Bool operator==(const PowerLogarithmicPolynomialParam< T > &other) const
Comparisons.
#define DebugAssert(expr, exception)
FunctionParam< T > param_p
The parameters and masks.
PowerLogarithmicPolynomialParam(const PowerLogarithmicPolynomialParam< W > &other)
T coefficient(uInt which) const
What is the which'th coefficient of the polynomial.
this file contains all the compiler specific defines
PowerLogarithmicPolynomialParam(const vector< T > &parms)
virtual const String & name() const
Give name of function.
PowerLogarithmicPolynomialParam()
Constructs a function with two coefficients, both 1 (so y = x).
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
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).
PowerLogarithmicPolynomialParam(uInt n)
Makes a polynomial of the specified number of coefficients, all set to zero.