|
From: Travis O. <oli...@ee...> - 2006-02-18 01:29:28
|
Christopher Barker wrote: > Travis Oliphant wrote: > >> They just don't *stay* 0-d arrays and are converted to array scalars >> at almost every opportunity.... > > > I'm still confused as to what the difference is. This (recent) > convesation started with my desire for a mutable scalar. CAn array > scalars fill this role? No. array scalars are immutable (well except for the void array scalar...) > > What I mean by that role is some way to do: > > x += 5 # (and friends) This now works in SVN. In-place operations on 0-d arrays don't change on you. -Travis |