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>
#define DebugAssert(expr, exception)
size_t nelements() const
The number of elements contained in this Block<T>.
virtual const String & name() const
Give name of function.
Block< uInt > funpar_p
Index of function belonging to parameter.
CompoundParam< T > & operator=(const CompoundParam< T > &other)
uInt parameterOffset(uInt which) const
Get the offset in function parameterlist for function which.
CompoundParam(const CompoundParam< T > &other)
Make this object a (deep) copy of other.
Block< uInt > paroff_p
Index of offset for each function to its parameters in general list.
CompoundParam(const CompoundParam< W > &other, Bool)
uInt parameterLocation(uInt which) const
Return locpar.
CompoundParam(const CompoundParam< W > &other)
uInt addFunction(const Function< T > &newFunction)
Add a function to the sum.
virtual uInt ndim() const
Returns the dimension of functions in the linear combination.
const Function< T > & function(uInt which) const
Return a reference to a specific Function.
CompoundParam(const CompoundParam< T > &other, Bool)
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.
uInt ndim_p
Number of dimensions of underlying functions.
Block< uInt > locpar_p
Index of local parameter.
uInt nFunctions() const
Return the number of functions in the sum.
uInt parameterFunction(uInt which) const
Get the function number belonging to parameter list element which.
CompoundParam()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0.
uInt nparameters() const
Returns the number of parameters.
A drop-in replacement for Block<T*>.
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 nelements(const LatticeExprNode &expr)
1-argument function to get the number of elements in a lattice.