[Numpy-discussion] promises, promises

Alan G Isaac aisaac@american....
Mon May 12 08:15:50 CDT 2008


> On Sun, May 11, 2008 at 12:16 PM, Alan G Isaac <aisaac@american.edu> wrote:
>> To be specific: I do not recall any place in the NumPy Book 
>> where this behavior is promised. 


On Sun, 11 May 2008, Robert Kern apparently wrote:
> It's promised in the docstring!  """ A matrix is 
> a specialized 2-d array that retains it's 2-d nature 
> through operations
> """

I guess I would say that is too ambiguous.
And wrong::

    >>> x = np.mat('1 2;3 4')
    >>> x[0,0]
    1

Cheers,
Alan Isaac






More information about the Numpy-discussion mailing list