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>
#define DebugAssert(expr, exception)
CombiParam(const CombiParam< T > &other)
Make this object a (deep) copy of other.
virtual uInt ndim() const
Returns the dimension of functions in the linear combination.
uInt addFunction(const Function< T > &newFunction)
Add a function.
uInt ndim_p
Number of dimensions of underlying functions.
virtual const String & name() const
Give name of function.
uInt nFunctions() const
Return the total number of functions.
virtual ~CombiParam()
Destructor.
CombiParam()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0.
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.
CombiParam(const CombiParam< W > &other)
CombiParam(const CombiParam< T > &other, Bool)
const Function< T > & function(uInt which) const
Return a reference to a specific Function in the combination.
CombiParam(const CombiParam< W > &other, Bool)
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.