![]() |
(git:b77b4be)
|
Routines to calculate the minimax coefficients for approximating 1/x as 1/x ~ 1/pi SUM_{i}^{K} w_i x^2/(x^2+a_i^2)^2 for x belonging to [1:Rc]. More...
Functions/Subroutines | |
subroutine, public | get_rpa_minimax_coeff (k, e_range, aw, ierr, print_warning) |
The a_i and w_i coefficient are stored in aw such that the first 1:K elements correspond to a_i and the K+1:2k correspond to w_i. All a_i and w_i have been fitted with a 12th order polynomial as a function of Rc for each value of K. | |
subroutine, public | get_rpa_minimax_coeff_larger_grid (k, e_range, aw) |
... | |
Routines to calculate the minimax coefficients for approximating 1/x as 1/x ~ 1/pi SUM_{i}^{K} w_i x^2/(x^2+a_i^2)^2 for x belonging to [1:Rc].
subroutine, public minimax_rpa::get_rpa_minimax_coeff | ( | integer | k, |
real(kind=dp) | e_range, | ||
real(kind=dp), dimension(:), allocatable | aw, | ||
integer | ierr, | ||
logical, optional | print_warning | ||
) |
The a_i and w_i coefficient are stored in aw such that the first 1:K elements correspond to a_i and the K+1:2k correspond to w_i. All a_i and w_i have been fitted with a 12th order polynomial as a function of Rc for each value of K.
k | ... |
E_range | ... |
aw | ... |
ierr | ... |
print_warning | ... |
Definition at line 40 of file minimax_rpa.F.
subroutine, public minimax_rpa::get_rpa_minimax_coeff_larger_grid | ( | integer, intent(in) | k, |
real(kind=dp), intent(inout) | e_range, | ||
real(kind=dp), dimension(:), intent(out) | aw | ||
) |
...
k | ... |
E_range | ... |
aw | ... |
Definition at line 10121 of file minimax_rpa.F.