Namespace jalansim::map::collection
Namespace List > jalansim > map > collection
Public Functions
Type | Name |
---|---|
JALANSIM_HOST_DEVICE unsigned int | xorshift_rand (unsigned int & seed) Fast pseudo-random number generator using XOR-shift algorithm. |
Public Functions Documentation
function xorshift_rand
Fast pseudo-random number generator using XOR-shift algorithm.
JALANSIM_HOST_DEVICE unsigned int jalansim::map::collection::xorshift_rand (
unsigned int & seed
)
Parameters:
seed
Reference to seed value (modified in-place)
Returns:
Pseudo-random unsigned integer
The documentation for this class was generated from the following file include/jalansim/map/map_collection.hpp