Re: [Bug] Transpose is broken for empty SparseArrays
- To: mathgroup at smc.vnet.net
- Subject: [mg49607] Re: [mg49576] [Bug] Transpose is broken for empty SparseArrays
- From: DrBob <drbob at bigfoot.com>
- Date: Sat, 24 Jul 2004 03:48:02 -0400 (EDT)
- References: <200407231001.GAA20530@smc.vnet.net>
- Reply-to: drbob at bigfoot.com
- Sender: owner-wri-mathgroup at wolfram.com
This may be the root of the problem: Transpose[SparseArray[{}, {1, 2}]] == SparseArray[{}, {1, 2}] == {{0, 0}} True On the other hand, Transpose[Normal@SparseArray[{},{1,2}]] Dimensions[Transpose[Normal@SparseArray[{},{1,2}]]] {{0},{0}} {2,1} Bobby On Fri, 23 Jul 2004 06:01:48 -0400 (EDT), Scott Morrison <scott at math.berkeley.edu> wrote: > Dimensions[Transpose[SparseArray[{},{1,2}]]] -- DrBob at bigfoot.com www.eclecticdreams.net
- References:
- [Bug] Transpose is broken for empty SparseArrays
- From: Scott Morrison <scott@math.berkeley.edu>
- [Bug] Transpose is broken for empty SparseArrays