[Numpy-discussion] untenable matrix behavior in SVN

Alan G Isaac aisaac@american....
Tue Apr 29 13:41:45 CDT 2008


On Tue, 29 Apr 2008, Gael Varoquaux apparently wrote:
> I really don't  like a[i] != a[i,:].

Tim H's proposal avoids that problem.
What do you think of it?


> I also don't like loosing the information that you are 
> doing linear algebra.

Hmmm.  Is it a given that asking for ``a[i]`` is "doing 
linear algebra"?  Is ``a[i:i+1,:]`` so bad if you want 
a matrix?  I think some more use cases, like Bill's, might 
prove clarifying.
<URL:http://www.scipy.org/ConjugateGradientExample>

Alan





More information about the Numpy-discussion mailing list