GalSim-developers/GalSim — pull request #290 by rmjarvis (2012-09-28 19:51:11+00:00)
Title: #288 Expose c++ integrator to python and remove scipy dependence

This turned out to be a lot easier than I thought, so this is a pretty short pull request.

The upshot is that the following now works:
```
>>> import galsim
>>> def func(x): return x**2
...
>>> galsim.int1d(func,0,1)
0.33333333333333337
>>> galsim.int1d(func,0,2)
2.666666666666667
>>> galsim.int1d(func,-1,1)
0.66666666666666674
```

I also updated the Da in Cosmology to use this rather than the scipy.quad function, which removes our only scipy dependence.