
Sept. 10, 2003
6:19 p.m.
Pearu Peterson wrote:
Considering the number of `-1`s, how about
a=numarray.arange(6, type=numarray.Bool); a[::2] = 0; a
array([F, T, F, T, F, T], type=Bool)
Somehow I seem to parse faster 0/1 arrays than F/T (the symbols are visually more different). -0.5, but better than the change to True/False. Cheers, f