29 #ifndef SCIMATH_CHEBYSHEV_H
30 #define SCIMATH_CHEBYSHEV_H
260 const T &defval=T(0)) :
276 const T &defval=T(0)) :
324 #ifndef CASACORE_NO_AUTO_TEMPLATES
325 #include <casacore/scimath/Functionals/Chebyshev.tcc>
326 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual ~Chebyshev()
Destructor.
Chebyshev()
create a zero-th order Chebyshev polynomial with the first coefficient equal to zero.
A ChebyshevParam with the get/setMode implementation.
Chebyshev(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.
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
virtual T eval(const typename FunctionTraits< T >::ArgType *x) const
Evaluate the Chebyshev at x.
return a constant, default value.
uInt order() const
return the order of this polynomial.
Chebyshev(uInt order, const RecordInterface &mode)
create a fully specified Chebyshev polynomial.
Define enums for Chebyshev classes.
ChebyshevParam< T > & operator=(const ChebyshevParam< T > &other)
make a (deep) copy of another Chebyshev polynomial
A function class that defines a Chebyshev polynomial.
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
Chebyshev(const Chebyshev &other)
create a deep copy of another Chebyshev polynomial
Chebyshev< T > derivative() const
Return the Chebyshev polynomial which is the derivative of this one (with respect to the argument x)...
Chebyshev< T > & operator=(const Chebyshev< T > &other)
make this instance a (deep) copy of another Chebyshev polynomial
virtual Function< T > * clone() const
Create a new copy of this object.
Class that computes partial derivatives by automatic differentiation.
Chebyshev(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.
Chebyshev(const Vector< T > &coeffs, const RecordInterface &mode)
Chebyshev(const uInt n)
create an n-th order Chebyshev polynomial with the coefficients equal to zero.
Abstract base class for Record classes.