Just saw that you don't want 0-1, but 0 and 1. So basically the same... or
set random range -1 till 1 and use round? Or why not getting a random
integer and convert to scalar?



Olivier Jeannel <[email protected]> hat am 9. Mai 2012 um 19:52
geschrieben:

> Hello list,
>
> Im sure it is easy :
>
> I'm trying to get random (scalar) values distributed on some points.
> But I want only values 0 1 or -1 to be returned.
>
> How do I do something like that ?
>
> Thank you !
>

Reply via email to