From: Fernando P. <fp...@co...> - 2003-09-10 16:35:47
|
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 |