29 #ifndef SCIMATH_MARSHALLABLECHEBYSHEV_H
30 #define SCIMATH_MARSHALLABLECHEBYSHEV_H
135 const T &defval=T(0)) :
150 const T &min,
const T &max,
153 const T &defval=T(0)) :
154 Chebyshev<T>(coeffs, min, max, mode, defval),
204 #ifndef CASACORE_NO_AUTO_TEMPLATES
205 #include <casacore/scimath/Functionals/MarshallableChebyshev.tcc>
206 #endif //# CASACORE_NO_AUTO_TEMPLATES
static const String FUNCTYPE
MarshallableChebyshev()
create a zero-th order Chebyshev polynomial with the first coefficient equal to zero.
A 1-D Specialization of the Array class.
MarshallableChebyshev< T > & operator=(const MarshallableChebyshev< T > &other)
make a (deep) copy of another Chebyshev polynomial
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
return a constant, default value.
virtual ~MarshallableChebyshev()
Destructor.
Define enums for Chebyshev classes.
A function class that defines a Chebyshev polynomial.
MarshallableChebyshev(const MarshallableChebyshev< T > &other)
static const String FUNCFIELDS[]
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.
static const String modenames[]
a class for serializing/reconstituting Function objects to/from Records
the array of coefficients
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
virtual FunctionMarshallable & operator=(const FunctionMarshallable &other)
the number of supported fields
virtual Function< T > * clone() const
Create a copy of this object.
Chebyshev< T > & operator=(const Chebyshev< T > &other)
make this instance a (deep) copy of another Chebyshev polynomial
A hierarchical collection of named fields of various types.
FieldNames
definitions of the fields stored in a serialized Record.
MarshallableChebyshev< T > & operator=(const Chebyshev< T > &other)
A Chebyshev function class that supports serialization.
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.
the default value to use when mode=CONSTANT
MarshallableChebyshev(const uInt n)
create an n-th order Chebyshev polynomial with the coefficients equal to zero.
the 2-element double array
MarshallableChebyshev(const Chebyshev< T > &other)
create a deep copy of another Chebyshev polynomial
virtual void store(Record &gr) const
store the state of this Function into a Record
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.