[Numpy-discussion] Numpy/Fortran puzzle (?)

2014-08-20 Thread Andrea Gavana
Hi All, I have the following (very ugly) line of code: all_results = np.asarray([transm_hist[date_idx, :, idx_main_set[date_idx] ]*main_flow[date_idx, 0:n_fluids] for date_idx in xrange(n_dates)]) where transm_hist.shape = (n_dates, n_fluids, n_nodes), main_flow.shape = (n_dates, n_fluids)

Re: [Numpy-discussion] Proposed new feature for numpy.einsum: repeated output subscripts as diagonal

2014-08-20 Thread Pierre-Andre Noel
Thanks all for the feedback! So there appears to be interest for this feature, and I think that I can implement it. However, it may take a while before I do so: I have other priorities right now. In view of jaimefrio's comment on https://github.com/numpy/numpy/issues/4965 as well as Eelco

[Numpy-discussion] Docs website down?

2014-08-20 Thread Joris Van den Bossche
It seems the docs website of numpy and scipy (http://docs.scipy.org/doc/) is down. Is anyone looking at this? There is even already a stackoverflow question about it .. Best regards, Joris ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

[Numpy-discussion] Scipy.org has been unaccessible from UK and US

2014-08-20 Thread Arman Eshaghi
Hi everyone, I apologize if this is not the right place to report this, for some reason docs.scipy.org including numpy documentation have been unavailable from yesterday. I have tried to access from servers in UK and US and the problem seems to be on scipy servers. scipy.org works fine though.

[Numpy-discussion] Website down!

2014-08-20 Thread Dave Hirschfeld
It seems that the docs website is down? http://docs.scipy.org/doc/ -Dave ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

[Numpy-discussion] What to do about vdot?

2014-08-20 Thread Charles R Harris
Hi All, I've moved the cblas implementations of the dot and inner functions from _dotblas down into multiarray. The only reason to retain the _dotblas file at this point is the vdot function. I think that vdot belongs in the linalg module, but another option is to make it part of multiarray where

[Numpy-discussion] Best way to broadcast a function from C

2014-08-20 Thread James Crist
All, I have a C function func that takes in scalar arguments, and an array of fixed dimension that is modified in place to provide the output. The prototype is something like: `void func(double a, double b, double c, double *arr);` I've wrapped this in Cython and called it from python with no

Re: [Numpy-discussion] Proposed new feature for numpy.einsum: repeated output subscripts as diagonal

2014-08-20 Thread Jaime Fernández del Río
On Wed, Aug 20, 2014 at 6:26 AM, Pierre-Andre Noel noel.pierre.an...@gmail.com wrote: Thanks all for the feedback! So there appears to be interest for this feature, and I think that I can implement it. However, it may take a while before I do so: I have other priorities right now. In