chebyshev_smooth_lsq Class Template Reference

Some functionality for least squares fitting. More...

#include <chebyshev.h>

List of all members.

Public Member Functions

 chebyshev_smooth_lsq (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit, scitbx::af::const_ref< FloatType > const &x_obs, scitbx::af::const_ref< FloatType > const &y_obs, scitbx::af::const_ref< FloatType > const &w_obs, scitbx::af::const_ref< bool > const &free_flags)
FloatType residual ()
FloatType free_residual ()
scitbx::af::shared< FloatType > gradient ()
void replace (scitbx::af::const_ref< FloatType > const &new_coefs)
scitbx::af::shared< FloatType > coefs ()


Detailed Description

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

Some functionality for least squares fitting.

This is to fit a chebyshev polynome with gibbs damping. Although elegant, it does not really seems to make a hughe difference over the normal chebyshev polynome in the cases I have tested. There is !no! pythonm interface for this, and this function might be removed at one stage or another


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