#include <chebyshev.h>

Public Member Functions | |
| chebyshev_polynome (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit, scitbx::af::const_ref< FloatType > const &cheb_coefs) | |
| FloatType | dfdx (FloatType const &x) |
| scitbx::af::shared< FloatType > | dfdx (scitbx::af::const_ref< FloatType > const &x) |
| scitbx::af::shared< FloatType > | dfdx_coefs () |
| Return the coefficients of the derivative. | |
For this class, it only makes sense to have a constructor where coeffeicnts are loaded. The prime use of this class is to have an approximation to a function and its derivative
If desired, this class could be expanded to include integrals as well.
Note that the 'replace' option is not available from python (see the corresponding _ext file) as this would mean that one would need to recompute the derivatives in principle, it could be done, but maybe at a later stage, when/if the need arises.
1.5.6