29 #ifndef SCIMATH_MARSHALLABLECHEBYSHEV_H
30 #define SCIMATH_MARSHALLABLECHEBYSHEV_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/Chebyshev.h>
34 #include <casacore/scimath/Functionals/FunctionMarshallable.h>
135 const T &defval=T(0)) :
150 const T &
min,
const T &
max,
153 const T &defval=T(0)) :
204 #ifndef CASACORE_NO_AUTO_TEMPLATES
205 #include <casacore/scimath/Functionals/MarshallableChebyshev.tcc>
@ CONSTANT
return a constant, default value.
Chebyshev< T > & operator=(const Chebyshev< T > &other)
make this instance a (deep) copy of another Chebyshev polynomial
virtual FunctionMarshallable & operator=(const FunctionMarshallable &other)
MarshallableChebyshev(const Record &gr)
create a fully specified Chebyshev polynomial from parameters stored in a Record.
static const String FUNCFIELDS[]
virtual Function< T > * clone() const
Create a copy of this object.
MarshallableChebyshev(const uInt n)
create an n-th order Chebyshev polynomial with the coefficients equal to zero.
MarshallableChebyshev()
create a zero-th order Chebyshev polynomial with the first coefficient equal to zero.
MarshallableChebyshev(const MarshallableChebyshev< T > &other)
MarshallableChebyshev< T > & operator=(const MarshallableChebyshev< T > &other)
make a (deep) copy of another Chebyshev polynomial
static const String modenames[]
static const String FUNCTYPE
FieldNames
definitions of the fields stored in a serialized Record.
@ NFieldNames
the number of supported fields
@ COEFFS
the array of coefficients
@ INTERVAL
the 2-element double array
@ DEF
the default value to use when mode=CONSTANT
MarshallableChebyshev(const Chebyshev< T > &other)
create a deep copy of another Chebyshev polynomial
MarshallableChebyshev< T > & operator=(const Chebyshev< T > &other)
MarshallableChebyshev(const Vector< T > &coeffs, const T &min, const T &max, const typename ChebyshevEnums::OutOfIntervalMode mode=ChebyshevEnums::CONSTANT, const T &defval=T(0))
create a fully specified Chebyshev polynomial.
virtual ~MarshallableChebyshev()
Destructor.
virtual void store(Record &gr) const
store the state of this Function into a Record
MarshallableChebyshev(const T &min, const T &max, const typename ChebyshevEnums::OutOfIntervalMode mode=ChebyshevEnums::CONSTANT, const T &defval=T(0))
create a zero-th order Chebyshev polynomical with the first coefficient equal to one.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)