![]() ![]() However, the default RNG is thread-safe as of Julia 1.3 (using a per-thread RNG up to version 1.6, and per-task thereafter). In a multi-threaded program, you should generally use different RNG objects from different threads or tasks in order to be thread-safe. (which can also be given as a tuple) to generate arrays of random values. Some also accept dimension specifications dims. ![]() Most functions related to random generation accept an optional AbstractRNG object as first argument.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |