Go to the documentation of this file.
29 #ifndef SCIMATH_COMBIPARAM_H
30 #define SCIMATH_COMBIPARAM_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/BasicSL/String.h>
35 #include <casacore/casa/Containers/Block.h>
36 #include <casacore/casa/Utilities/Assert.h>
37 #include <casacore/scimath/Functionals/Function.h>
197 #ifndef CASACORE_NO_AUTO_TEMPLATES
198 #include <casacore/scimath/Functionals/CombiParam.tcc>
199 #endif //# CASACORE_NO_AUTO_TEMPLATES
CombiParam()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0.
A drop-in replacement for Block<T*>.
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.
Parameters for a linear combination of function objects.
const Function< T > & function(uInt which) const
Return a reference to a specific Function in the combination.
virtual ~CombiParam()
Destructor.
uInt addFunction(const Function< T > &newFunction)
Add a function.
virtual uInt ndim() const
Returns the dimension of functions in the linear combination.
#define DebugAssert(expr, exception)
uInt ndim_p
Number of dimensions of underlying functions.
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
this file contains all the compiler specific defines
CombiParam(const CombiParam< W > &other)
Numerical functional interface class.
CombiParam(const CombiParam< T > &other, Bool)
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
virtual const String & name() const
Give name of function.
Base class for all Casacore library errors.
CombiParam(const CombiParam< W > &other, Bool)
uInt nFunctions() const
Return the total number of functions.