Changes between Version 2 and Version 3 of ZeroRankArray

Show
Ignore:
Timestamp:
01/10/06 08:44:33 (7 years ago)
Author:
sasha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZeroRankArray

    v2 v3  
     1= Zero-Rank Arrays = 
    12Zero-rank arrays are array with shape=().  For example: 
    23{{{ 
     
    67() 
    78}}} 
     9 
     10== Indexing of Zero-Rank Arrays == 
     11As of !NumPy release 0.9.3, zero-rank arrays do not support any indexing 
     12{{{ 
     13>>> x[...] 
     14Traceback (most recent call last): 
     15  File "<stdin>", line 1, in ? 
     16IndexError: 0-d arrays can't be indexed. 
     17}}} 
     18On the other hand there are several cases that make sense for rank-zero arrays. 
     19 
     20=== Ellipsis and empty tuple === 
     21 
     22=== Increasing rank with newaxis ===