26#ifndef SCIMATH_COMBIPARAM_H
27#define SCIMATH_COMBIPARAM_H
30#include <casacore/casa/aips.h>
31#include <casacore/casa/BasicSL/String.h>
32#include <casacore/casa/Containers/Block.h>
33#include <casacore/casa/Utilities/Assert.h>
34#include <casacore/scimath/Functionals/Function.h>
194#ifndef CASACORE_NO_AUTO_TEMPLATES
195#include <casacore/scimath/Functionals/CombiParam.tcc>
#define DebugAssert(expr, exception)
const Function< T > & function(uInt which) const
Return a reference to a specific Function in the combination.
CombiParam(const CombiParam< T > &other)
Make this object a (deep) copy of other.
virtual const String & name() const
Give name of function.
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.
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.
const Function< T > & function(uInt which)
PtrBlock< Function< T > * > functionPtr_p
Pointer to each added function.
CombiParam(const CombiParam< W > &other)
CombiParam(const CombiParam< T > &other, Bool)
CombiParam(const CombiParam< W > &other, Bool)
CombiParam< T > & operator=(const CombiParam< T > &other)
Make this object a (deep) copy of other.
virtual Function< T, U > * clone() const =0
Return a copy of this object from the heap.
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.