chebyshev_polynome Class Template Reference

Chebyshev polynome, witrh derivative with respect to x. More...

#include <chebyshev.h>

Inheritance diagram for chebyshev_polynome:

chebyshev_base

List of all members.

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.


Detailed Description

template<typename FloatType = double>
class scitbx::math::chebyshev::chebyshev_polynome< FloatType >

Chebyshev polynome, witrh derivative with respect to x.

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.


The documentation for this class was generated from the following file:

Generated on Tue Sep 1 17:12:36 2009 for cctbx by  doxygen 1.5.6