Path: csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'subject:using': 0.09; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'laura': 0.18; 'received:se': 0.29; 'url:python': 0.33; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'to:addr:python.org': 0.40; 'header:Message-Id:1': 0.61; 'header :In-reply-to:1': 0.84 To: python-list@python.org From: Laura Creighton Subject: Re: subdividing a rectangle using numpy In-reply-to: <87k2rxy7to.fsf@gmail.com> References: <87k2rxy7to.fsf@gmail.com> Comments: In-reply-to Seb message dated "Thu, 10 Sep 2015 22:05:07 -0500." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22687.1441979389.1@fido> Date: Fri, 11 Sep 2015 15:49:49 +0200 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Fri, 11 Sep 2015 15:49:51 +0200 (CEST) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1441979394 news.xs4all.nl 23756 [2001:888:2000:d::a6]:34360 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96341 I think pyeuclid will do what you want. https://pypi.python.org/pypi/euclid Laura