Go to the source code of this file.
|
module | minimax_exp_k15 |
| Routines to calculate the minimax coefficients in order to approximate 1/x as a sum over exponential functions 1/x ~ SUM_{i}^{K} w_i EXP(-a_i * x) for x belonging to [1:Rc]. This module contains coefficients for minimax approximations with 1 <= k <= 15.
|
|
|
subroutine, public | minimax_exp_k15::check_range_k15 (k, Rc, ierr) |
| Check that the range for the minimax approximation is not too small for the chosen number of integration point, or that the number of integration point is not exceeding the maximum allowed by the actual implementation. More...
|
|
real(kind=dp) function, public | minimax_exp_k15::get_minimax_numerical_error (Rc, aw) |
| Sample numerical error and return its maximum. More...
|
|
subroutine, public | minimax_exp_k15::get_minimax_coeff_k15 (k, Rc, aw, mm_error) |
| Get minimax coefficients: k15 implementation (coefficients up to k=15 terms). All a_i and w_i have been fitted with a 12th order polynomial as a function of Rc for each value of K. More...
|
|