<br><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 2:02 PM, Justin Peel <span dir="ltr">&lt;<a href="mailto:peelpy@gmail.com">peelpy@gmail.com</a>&gt;</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 &lt;<a href="mailto:matti.picus@gmail.com">matti.picus@gmail.com</a>&gt; wrote:<br>
&gt; I would really love to have 2 dimensional matrices in micronumpy, and am<br>
&gt; willing to donate some hours of coding. There seems to be a number of<br>
&gt; &quot;heads&quot; on the mercurial tree that use numpy in their keyword. Can anyone<br>
&gt; give me pointer as to what branch (maybe just tip?) would be the recommended<br>
&gt; one to continue with? Any coding guidelines?<br>
&gt; My goal is to get to an implementation of inverse on a smallish (5x5 matrix)<br>
&gt; so I can build some useful code.<br>
&gt; Matti<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; pypy-dev mailing list<br>
&gt; <a href="mailto:pypy-dev@python.org">pypy-dev@python.org</a><br>
&gt; <a href="http://mail.python.org/mailman/listinfo/pypy-dev" target="_blank">http://mail.python.org/mailman/listinfo/pypy-dev</a><br>
&gt;<br>
&gt;<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&#39;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>&quot;I disapprove of what you say, but I will defend to the death your right to say it.&quot; -- Evelyn Beatrice Hall (summarizing Voltaire)<br>&quot;The people&#39;s good is the highest law.&quot; -- Cicero<br>
<br>
</div>