Go to the source code of this file.
|
module | minimax_exp |
| 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].
|
|
|
subroutine, public | minimax_exp::check_exp_minimax_range (k, Rc, ierr) |
| Check that a minimax approximation is available for given input k, Rc. ierr == 0: everything ok ierr == 1: Rc too small ierr == -1: k too large. More...
|
|
subroutine, public | minimax_exp::get_exp_minimax_coeff (k, Rc, aw, mm_error, which_coeffs) |
| Get best minimax approximation for given input parameters. Automatically chooses the most exact set of minimax coefficients (k15 or k53) for given k, Rc. More...
|
|
subroutine, public | minimax_exp::validate_exp_minimax (n_R, iw) |
| Unit test checking that numerical error of minimax approximations generated using any k15 or k53 coefficients is consistent with tabulated error. More...
|
|