chebyshev_smooth Class Template Reference

A chebyshev polynome with gibbs damping. More...

#include <chebyshev.h>

Inheritance diagram for chebyshev_smooth:

chebyshev_base

List of all members.

Public Member Functions

 chebyshev_smooth (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit)
 chebyshev_smooth (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit, scitbx::af::const_ref< FloatType > const &cheb_coefs)
void replace_and_smooth (scitbx::af::const_ref< FloatType > const &coefs)
scitbx::af::shared< FloatType > smooth_coefs ()
 In python this accesible as smooth_coefs.


Detailed Description

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

A chebyshev polynome with gibbs damping.

The Gibbs damping in this chebyshev polynome takes the form of g = 0.5*(1-tanh( (z-1)/(z*(1-z)))) where z = ii/(n_terms_+1), and f(x) 0.5*g_0c_0 + sum_{ii=0}^{M} g_ii c_ii T_ii(x) It ensures that the effective last coefficients are small This will large oscilations of a small period in the final function in the hope that it will prevent overfitting of data.


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