28#ifndef SCIMATH_CHEBYSHEV_H
29#define SCIMATH_CHEBYSHEV_H
31#include <casacore/casa/aips.h>
32#include <casacore/scimath/Functionals/ChebyshevParam.h>
33#include <casacore/scimath/Functionals/Function1D.h>
34#include <casacore/scimath/Mathematics/AutoDiff.h>
35#include <casacore/scimath/Mathematics/AutoDiffMath.h>
257 const T &defval = T(0))
272 const T &defval = T(0))
319#ifndef CASACORE_NO_AUTO_TEMPLATES
320#include <casacore/scimath/Functionals/Chebyshev.tcc>
OutOfIntervalMode
Modes that identify how this function behaves outside its Chebyshev interval (see setInterval()).
@ CONSTANT
return a constant, default value.
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()
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 > 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
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.
For temporary backward namespace compatibility, use casa as alias for casacore.
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
LatticeExprNode min(const LatticeExprNode &left, const LatticeExprNode &right)
RecordInterface()
The default constructor creates an empty record with a variable structure.