[BTW Artur, some unrelated --and unsolicited, sorry!--
Oh, please! You're welcome!! :)
And "test2 = abs(x) >= 0.5 ? 1 : 0" would also just work with the
i-indices and the surrounding explicit loop. The looping is then done
internally and should be much faster.
Good to know! I start loving this "if" short version :)