29 #ifndef SCIMATH_COMPOUNDPARAM_H
30 #define SCIMATH_COMPOUNDPARAM_H
227 #ifndef CASACORE_NO_AUTO_TEMPLATES
228 #include <casacore/scimath/Functionals/CompoundParam.tcc>
229 #endif //# CASACORE_NO_AUTO_TEMPLATES
uInt nparameters() const
Returns the number of parameters.
const Function< T > & function(uInt which) const
Return a reference to a specific Function.
CompoundParam(const CompoundParam< W > &other)
size_t nelements() const
The number of elements contained in this Block<T>.
virtual uInt ndim() const
Returns the dimension of functions in the linear combination.
virtual const String & name() const
Give name of function.
uInt parameterOffset(uInt which) const
Get the offset in function parameterlist for function which.
Numerical functional interface class.
Block< uInt > paroff_p
Index of offset for each function to its parameters in general list.
LatticeExprNode nelements(const LatticeExprNode &expr)
1-argument function to get the number of elements in a lattice.
CompoundParam(const CompoundParam< W > &other, Bool)
#define DebugAssert(expr, exception)
bool Bool
Define the standard types used by Casacore.
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.
CompoundParam()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0...
uInt addFunction(const Function< T > &newFunction)
Add a function to the sum.
uInt ndim_p
Number of dimensions of underlying functions.
uInt nFunctions() const
Return the number of functions in the sum.
A drop-in replacement for Block<T*>.
Block< uInt > funpar_p
Index of function belonging to parameter.
uInt parameterFunction(uInt which) const
Get the function number belonging to parameter list element which.
uInt parameterLocation(uInt which) const
Return locpar.
CompoundParam< T > & operator=(const CompoundParam< T > &other)
Parameters for sum of parameterized Functions.
Base class for all Casacore library errors.
CompoundParam(const CompoundParam< T > &other, Bool)
String: the storage and methods of handling collections of characters.
Block< uInt > locpar_p
Index of local parameter.