I'm trying to write a simulation program in cosmology and I'm stuck because I need to calculate integrals of the form sin(x)/x.
Has anyone a source code for this? Or is there an easy way to do it in the gsl (I know that there is the monetcarlo integration there, but I need something more direct)?
Thanks in advance
Has anyone a source code for this? Or is there an easy way to do it in the gsl (I know that there is the monetcarlo integration there, but I need something more direct)?
Thanks in advance
Comment