29 #ifndef SCIMATH_CHEBYSHEV_H
30 #define SCIMATH_CHEBYSHEV_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/scimath/Functionals/ChebyshevParam.h>
34 #include <casacore/scimath/Functionals/Function1D.h>
35 #include <casacore/scimath/Mathematics/AutoDiff.h>
36 #include <casacore/scimath/Mathematics/AutoDiffMath.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>
@ CONSTANT
return a constant, default value.
A ChebyshevParam with the get/setMode implementation.
uInt order() const
return the order of this polynomial.
ChebyshevParam< T > & operator=(const ChebyshevParam< T > &other)
make 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()
create a zero-th order Chebyshev polynomial with the first coefficient equal to zero.
Chebyshev(const uInt n)
create an n-th order Chebyshev polynomial with the coefficients equal to zero.
virtual ~Chebyshev()
Destructor.
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< T > & operator=(const Chebyshev< T > &other)
make this instance a (deep) copy of another Chebyshev polynomial
Chebyshev(const Vector< T > &coeffs, const RecordInterface &mode)
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.
Chebyshev(const Chebyshev &other)
create a deep copy of another Chebyshev polynomial
virtual Function< T > * clone() const
Create a new copy of this object.
virtual T eval(const typename FunctionTraits< T >::ArgType *x) const
Evaluate the Chebyshev at x.
Chebyshev(uInt order, const RecordInterface &mode)
create a fully specified Chebyshev polynomial.
T ArgType
Type for arguments.
this file contains all the compiler specific defines
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)