28 #ifndef SCIMATH_FUNCTIONORDER_H
29 #define SCIMATH_FUNCTIONORDER_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/casa/Containers/Block.h>
35 #include <casacore/casa/Utilities/RecordTransformable.h>
36 #include <casacore/scimath/Functionals/Function.h>
37 #include <casacore/casa/BasicSL/String.h>
38 #include <casacore/casa/iosfwd.h>
43 class RecordInterface;
163 return par.
print(os); }
168 #ifndef CASACORE_NO_AUTO_TEMPLATES
169 #include <casacore/scimath/Functionals/FunctionOrder.tcc>
ostream & print(ostream &os) const
Output the parameters.
const T & getScale(const uInt n) const
Vector< T > double_p
Double parameters.
const Function< T > & getFunction(const uInt n) const
T & getWidth(const uInt n)
Vector< T > center_p
Centers of x (length ndim)
const T & getPar(const uInt n) const
virtual Bool fromRecord(String &error, const RecordInterface &in)
Create a FunctionOrder from a record Error messages are postfixed to error.
FunctionOrder(const FunctionOrder< T > &other)
Copy constructor (deep copy)
virtual const String & ident() const
Get identification of record.
FunctionOrder & operator=(const FunctionOrder< T > &other)
Copy assignment (deep copy)
virtual ~FunctionOrder()
Destructor.
const String & getString() const
Vector< T > scale_p
Scale of y (length 1)
const T & getCenter(const uInt n) const
T & getScale(const uInt n)
Vector< Int > int_p
All data vectors can be empty.
void setFunction(const uInt n, Function< T > &other)
virtual Bool toRecord(String &error, RecordInterface &out) const
Create a record from a FunctionOrder.
const T & getWidth(const uInt n) const
virtual Bool fromString(String &error, const String &in)
Initialise the class from a String representation.
Vector< T > width_p
Width of x (ndim)
String string_p
String parameters.
Int & getInt(const uInt n)
Get and set the various parameters (no check for index range).
const Int & getInt(const uInt n) const
PtrBlock< Function< T > * > function_p
List of functions (say for Combi and Compound)
T & getCenter(const uInt n)
FunctionOrder()
Construct a default FunctionOrder with 0 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.
ostream & operator<<(ostream &os, const IComplex &)
Show on ostream.