Hi experts!
How can I obtain a numpy array or list of 'N'random signs? for example:
[1, -1, 1, 1 , -1, -1, 1 , 1, 1]
where N = 9.
Waiting for your answers.
Thanks a lot!
| 1 | initial version |
Hi experts!
How can I obtain a numpy array or list of 'N'random signs? for example:
[1, -1, 1, 1 , -1, -1, 1 , 1, 1]
where N = 9.
Waiting for your answers.
Thanks a lot!
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.