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 const Function< T > & function(uInt which) const
Return a reference to a specific Function in the combination.
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.
uInt ndim_p
Number of dimensions of underlying functions.
CombiParam(const CombiParam< T > &other, Bool)
CombiParam(const CombiParam< W > &other, Bool)
Parameters for a linear combination of function objects.
uInt nparameters() const
Returns the number of parameters.
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
CombiParam()
The default constructor – no functions, no parameters, nothing, the function operator returns a 0...
virtual ~CombiParam()
Destructor.
virtual uInt ndim() const
Returns the dimension of functions in the linear combination.
virtual const String & name() const
Give name of function.
Numerical functional interface class.
uInt addFunction(const Function< T > &newFunction)
Add a function.
LatticeExprNode nelements(const LatticeExprNode &expr)
1-argument function to get the number of elements in a lattice.
#define DebugAssert(expr, exception)
bool Bool
Define the standard types used by Casacore.
CombiParam(const CombiParam< W > &other)
A drop-in replacement for Block<T*>.
Base class for all Casacore library errors.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
uInt nFunctions() const
Return the total number of functions.