NcmMpsfTrigInt
NcmMpsfTrigInt — Multiple precision sin integral implementation.
|
|
Description
Implementation of multiple precision sine integral using the GNU MPFR library.
This implementation employs binary splitting to compute the integral utilizing
the Taylor series and asymptotic expansion methods.
Functions
ncm_mpsf_sin_int_mpfr ()
void
ncm_mpsf_sin_int_mpfr (mpq_t q
,
mpfr_ptr res
,
mp_rnd_t rnd
);
Computes the sine integral
$$\mathrm{Si}(x) = \int_0^x \frac{\sin x'}{x'}\mathrm{d}x.$$
[skip]
ncm_sf_sin_int ()
gdouble
ncm_sf_sin_int (gdouble x
);
Computes the sine integral
$$\mathrm{Si}(x) = \int_0^x \frac{\sin x'}{x'}\mathrm{d}x.$$
Returns
the value of $\mathrm{Si}(x)$.