Re: subdividing a rectangle using numpy

2015-09-11 Thread Laura Creighton
I think pyeuclid will do what you want. https://pypi.python.org/pypi/euclid Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: subdividing a rectangle using numpy

2015-09-10 Thread Nobody
On Thu, 10 Sep 2015 22:05:07 -0500, Seb wrote: > The key to my solution was to use numpy's meshgrid to generate the > coordinates for defining the sub-units. However, it seems awfully > complex and contrived, Half a dozen lines of code is "complex and contrived"? Also, you should lose marks for