rank-0 arrays?

Pearu Peterson pearu at cens.ioc.ee
Mon Sep 30 13:47:25 EDT 2002


On 30 Sep 2002, Steve Holden wrote:

> <brobbins333 at shaw.ca> wrote in message news:3d988160.79509684 at news...
> > In Numeric Python, what are rank-0 arrays?
> > Must not arrays have at least 1 dimension?
> >
> 
> Only if they must contain data. A xero-rank array will (sort of) be the None
> of Numeric arrays.

This is not correct.
In Numeric Python rank-0 arrays are like mutable scalars.

Pearu





More information about the Python-list mailing list