[Numpy-tickets] [NumPy] #339: nd_grid with 1 sample

NumPy numpy-tickets at scipy.net
Thu Oct 12 08:36:06 CDT 2006

#339: nd_grid with 1 sample
 Reporter:  guimond      |       Owner:  somebody
     Type:  enhancement  |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  numpy.lib    |     Version:          
 Severity:  normal       |    Keywords:          
 hi. i've made modifications to index_tricks to enable the use of nd_grid
 with a number of samples equal to 1, which currently doesn't work because
 of a division by (num_samples - 1). It is then possible to call mgrid[ 0 :
 0 : 1j ] which returns array([ 0.]).

 this is against index_tricks rev 3224. see attached file

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/339>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list