[Numpy-discussion] numarray: "concatenate along new axis" returns 'unexpected' type

Todd Miller jmiller at stsci.edu
Tue Feb 8 11:10:10 EST 2005

On Tue, 2005-02-08 at 13:52, Sebastian Haase wrote:
> Hi,
> from the numarray documentation:
> <doc>
> concatenate(arrs, axis=0)
> Returns a new array containing copies of the data contained in all arrays # of 
> arrs= (a0, a1, ... an). The arrays ai will be concatenated along the 
> specified axis (default=0). All arrays ai must have the same shape along 
> every axis except for the one specified in axis. To concatenate arrays along 
> a newly created axis, you can use array((a0, ..., an)), as long as all arrays 
> have the same shape. 
> </doc>
> Is it a bug that array((a0,a1)) returns different type that a0 ? 

Yes.  That's not the behavior I see in numarray-CVS though.  CVS looks


More information about the NumPy-Discussion mailing list