<br><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 2:02 PM, Justin Peel <span dir="ltr"><<a href="mailto:peelpy@gmail.com">peelpy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There are a few things to be done before we start on a<br>
multi-dimensional array. First, we need to do some refactoring to get<br>
all of the 1D parts out of BaseArray and into the SingleDimArray<br>
class. Also, we need to decide if we want to keep single dimensional<br>
arrays as a specialized case or just use the same multi-dimensional<br>
array for everything. We can also consider adding a 2D class as well.<br>
Personally, I think that we should do the refactoring, implement a<br>
multi-dim array while keeping the 1D array for now, and compare the<br>
performance of using the multi-dim array for 1D arrays vs. using the<br>
SingleDimArray class.<br>
<div><div></div><div class="h5"><br>
On Tue, Sep 20, 2011 at 2:26 AM, matti picus <<a href="mailto:matti.picus@gmail.com">matti.picus@gmail.com</a>> wrote:<br>
> I would really love to have 2 dimensional matrices in micronumpy, and am<br>
> willing to donate some hours of coding. There seems to be a number of<br>
> "heads" on the mercurial tree that use numpy in their keyword. Can anyone<br>
> give me pointer as to what branch (maybe just tip?) would be the recommended<br>
> one to continue with? Any coding guidelines?<br>
> My goal is to get to an implementation of inverse on a smallish (5x5 matrix)<br>
> so I can build some useful code.<br>
> Matti<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> pypy-dev mailing list<br>
> <a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
><br>
><br>
_______________________________________________<br>
pypy-dev mailing list<br>
<a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
</div></div></blockquote></div><br>Personally I think just having a single ndimarray is going to be the same for performance, and since this work should happen on a branch it'd be preferable to do it that way, we can still compare cross-branch.<div>
<br></div><div>Alex<br clear="all"><div><br></div>-- <br>"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>"The people's good is the highest law." -- Cicero<br>
<br>
</div>