Go to the documentation of this file.
29 #ifndef SCIMATH_COMPOUNDPARAM_H
30 #define SCIMATH_COMPOUNDPARAM_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/Function.h>
34 #include <casacore/casa/BasicSL/String.h>
35 #include <casacore/casa/Containers/Block.h>
227 #ifndef CASACORE_NO_AUTO_TEMPLATES
228 #include <casacore/scimath/Functionals/CompoundParam.tcc>
229 #endif //# CASACORE_NO_AUTO_TEMPLATES
Block< uInt > locpar_p
Index of local parameter.
Block< uInt > funpar_p
Index of function belonging to parameter.
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.
A drop-in replacement for Block<T*>.
Block< uInt > paroff_p
Index of offset for each function to its parameters in general list.
CompoundParam(const CompoundParam< W > &other)
uInt nparameters() const
Returns the number of parameters.
LatticeExprNode nelements(const LatticeExprNode &expr)
1-argument function to get the number of elements in a lattice.
CompoundParam(const CompoundParam< T > &other, Bool)
uInt parameterFunction(uInt which) const
Get the function number belonging to parameter list element which.
#define DebugAssert(expr, exception)
virtual const String & name() const
Give name of function.
this file contains all the compiler specific defines
CompoundParam< T > & operator=(const CompoundParam< T > &other)
size_t nelements() const
The number of elements contained in this Block<T>.
uInt nFunctions() const
Return the number of functions in the sum.
CompoundParam(const CompoundParam< W > &other, Bool)
uInt parameterLocation(uInt which) const
Return locpar.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
const Function< T > & function(uInt which) const
Return a reference to a specific Function.
CompoundParam(const CompoundParam< T > &other)
Make this object a (deep) copy of other.
uInt parameterOffset(uInt which) const
Get the offset in function parameterlist for function which.
uInt ndim_p
Number of dimensions of underlying functions.
virtual uInt ndim() const
Returns the dimension of functions in the linear combination.
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.