Re: [Numpy-discussion] why system_info.check_libs does not look for dll on windows ?

2007-09-08 Thread David Cournapeau
Robert Kern wrote: > David Cournapeau wrote: > >> Hi, >> >> I would like to know if there is a reason why system_info does not >> look for dll on windows ? I think it would make sense to look for dll >> when you want to use an external lib through ctypes, for example. >> > > Because i

Re: [Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray <=> numpy.array typemap to share?

2007-09-08 Thread Xavier Gnata
Christopher Barker wrote: > Xavier Gnata wrote: > >> I'm using the numpy C API (PyArray_SimpleNewFromData) to perform the >> conversion but my code is written by hands. >> > > I'd like to see that. How are you getting the pointer to pass in to > PyArray_SimpleNewFromData? It looks like yo

Re: [Numpy-discussion] Anyone have a well-tested SWIG-based C++ STL valarray <=> numpy.array typemap to share?

2007-09-08 Thread Xavier Gnata
Bryan Van de Ven wrote: > Christopher Barker wrote: > > >> Does anyone know the status of support for valarrays now? >> > > I used std::valarray to implement a variant of the example Matrix class in > Stroustrup's book (2D only) about two years ago. I was aware that is in > disuse, > by

[Numpy-discussion] von mises distribution in numpy.random biased

2007-09-08 Thread killian koepsell
hi, the von mises distribution in numpy.random seems to be biased towards a higher concentration (kappa). given a concentration of 2, it produces data that has a concentration of 2.36. i compared the distribution to the one produced by the CircStats[1] package of R[2] using RPy [3] and created a f

Re: [Numpy-discussion] von mises distribution in numpy.random biased

2007-09-08 Thread Travis E. Oliphant
killian koepsell wrote: > hi, > > the von mises distribution in numpy.random seems to be biased towards > a higher concentration (kappa). given a concentration of 2, it > produces data that has a concentration of 2.36. i compared the > distribution to the one produced by the CircStats[1] package of