Re: [Numpy-discussion] Proposal: Deprecate np.int, np.float, etc.?

2015-07-31 Thread Nick Papior
-- Kind regards Nick Papior On 31 Jul 2015 17:53, "Chris Barker" wrote: > > On Thu, Jul 30, 2015 at 11:24 PM, Jason Newton wrote: >> >> This really needs changing though. scientific researchers don't catch this subtlety and expect it to be just like the c an

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Nick Papior Andersen
You could try and install your own numpy to check whether that resolves the problem. 2015-04-29 17:40 GMT+02:00 simona bellavista : > on cluster A 1.9.0 and on cluster B 1.8.2 > > 2015-04-29 17:18 GMT+02:00 Nick Papior Andersen : > >> Compile it yourself to know the limitatio

Re: [Numpy-discussion] performance of numpy.array()

2015-04-29 Thread Nick Papior Andersen
Compile it yourself to know the limitations/benefits of the dependency libraries. Otherwise, have you checked which versions of numpy they are, i.e. are they the same version? 2015-04-29 17:05 GMT+02:00 simona bellavista : > I work on two distinct scientific clusters. I have run the same python

Re: [Numpy-discussion] element-wise array segmental function operation?

2015-03-22 Thread Nick Papior Andersen
You can do: vfun = np.vectorize(fun) vfun([20,50,75]) that should work, note the abundant options available for denoting the vectorized arrays in "vectorize". Otherwise you could do nested where calls. 2015-03-23 7:46 GMT+01:00 oyster : > Hi, all > I want to know wether there is a terse way to

Re: [Numpy-discussion] PR, extended site.cfg capabilities

2015-02-24 Thread Nick Papior Andersen
2015-02-24 14:56 GMT+01:00 Julian Taylor : > On 02/24/2015 02:31 PM, Julian Taylor wrote: > > On 02/24/2015 02:16 PM, Nick Papior Andersen wrote: > >> Dear all, > >> > >> I have initiated a PR-5597 <https://github.com/numpy/numpy/pull/5597>, > >&

Re: [Numpy-discussion] PR, extended site.cfg capabilities

2015-02-24 Thread Nick Papior Andersen
2015-02-24 14:31 GMT+01:00 Julian Taylor : > On 02/24/2015 02:16 PM, Nick Papior Andersen wrote: > > Dear all, > > > > I have initiated a PR-5597 <https://github.com/numpy/numpy/pull/5597>, > > which enables the reading of new flags from the site.cfg file. >

[Numpy-discussion] PR, extended site.cfg capabilities

2015-02-24 Thread Nick Papior Andersen
Dear all, I have initiated a PR-5597 , which enables the reading of new flags from the site.cfg file. @rgommers requested that I posted some information on this site, possibly somebody could test it on their setup. So the PR basically enables reading thes