[Numpy-discussion] untenable matrix behavior in SVN

Alan G Isaac aisaac at american.edu
Tue Apr 29 18:36:38 EDT 2008


On Tue, 29 Apr 2008, Christopher Barker apparently wrote:
> a really good argument for:
> A * B.col[i] 

Also see the syntax discussed in Proposal 5.
(I am not expressing an opinion.)
<URL:http://www.scipy.org/MatrixIndexing#proposal-5>

        One possibility is to let the rows and cols methods 
        take an argument with a default of None. The default 
        is to return an iterator over the rows/columns. An 
        iterator over subsets of rows/columns could be 
        specified with a sequence. A single row/column could 
        be specified with a scalar argument.

Cheers,
Alan






More information about the NumPy-Discussion mailing list