#include <chebyshev.h>

Public Member Functions | |
| chebyshev_base () | |
| chebyshev_base (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit) | |
| chebyshev_base (std::size_t const &n_terms, FloatType const &low_limit, FloatType const &high_limit, scitbx::af::const_ref< FloatType > const &cheb_coefs) | |
| FloatType | f (FloatType const &x_in) |
| scitbx::af::shared< FloatType > | f (scitbx::af::const_ref< FloatType > const &x_in) |
| scitbx::af::shared< FloatType > | coefs () |
| void | replace (scitbx::af::const_ref< FloatType > const &new_coefs) |
| chebyshev_base | ( | ) | [inline] |
Default constructor
| chebyshev_base | ( | std::size_t const & | n_terms, | |
| FloatType const & | low_limit, | |||
| FloatType const & | high_limit | |||
| ) | [inline] |
Constructor that inits all members to nought
References SCITBX_ASSERT.
| chebyshev_base | ( | std::size_t const & | n_terms, | |
| FloatType const & | low_limit, | |||
| FloatType const & | high_limit, | |||
| scitbx::af::const_ref< FloatType > const & | cheb_coefs | |||
| ) | [inline] |
Same as before, but load coefficients as well
References SCITBX_ASSERT.
| FloatType f | ( | FloatType const & | x_in | ) | [inline] |
Return chebyshev approximation for the given coefficients
| scitbx::af::shared<FloatType> f | ( | scitbx::af::const_ref< FloatType > const & | x_in | ) | [inline] |
Array version of previos function
| scitbx::af::shared<FloatType> coefs | ( | ) | [inline] |
Return the coefficients
| void replace | ( | scitbx::af::const_ref< FloatType > const & | new_coefs | ) | [inline] |
Replace the coefficients with a new set. The number of coefficients can be made smaller, but not expanded
Referenced by chebyshev_smooth_fitter::chebyshev_smooth_fitter().
1.5.6