__gnu_parallel::_RandomNumber(3cxx)
πΈ NAME πΈ
okay bestie, welcome to the 3cxx manual page for __gnu_parallel::_RandomNumber β sheβs a random number generator, based on the Mersenne twister. literally iconic behavior π
β¨
β¨ SYNOPSIS β¨
#include <random_number.h>
π«Ά Public Member Functions π«Ά
_RandomNumber ()β Default constructor. Seed with0. π_RandomNumber (uint32_t __seed, uint64_t _M_supremum=0x100000000ULL)β Constructor. πΈunsigned long __genrand_bits (int __bits)β Generate a number of random bits, run-time parameter. π¦uint32_t operator() ()β Generate unsigned random 32-bit integer. πuint32_t operator() (uint64_t local_supremum)β Generate unsigned random 32-bit integer in the interval[0,local_supremum). β¨
π Detailed Description π
Random number generator, based on the Mersenne twister. no cap, thatβs the whole vibe ππ
π Constructor & Destructor Documentation π
__gnu_parallel::_RandomNumber::_RandomNumber () [inline]
Default constructor. Seed with 0. π
__gnu_parallel::_RandomNumber::_RandomNumber (uint32_t __seed, uint64_t _M_supremum = 0x100000000ULL) [inline]
Constructor. π«Ά
Parameters
__seedβ Random__seed. π_M_supremumβ Generate integer random numbers in the interval[0,_M_supremum). π«
π₯ Member Function Documentation π₯
unsigned long __gnu_parallel::_RandomNumber::__genrand_bits (int __bits) [inline]
Generate a number of random bits, run-time parameter. π²
Parameters
__bitsβ Number of bits to generate. π§
uint32_t __gnu_parallel::_RandomNumber::operator() () [inline]
Generate unsigned random 32-bit integer. π₯
uint32_t __gnu_parallel::_RandomNumber::operator() (uint64_t local_supremum) [inline]
Generate unsigned random 32-bit integer in the interval [0,local_supremum). π―
π¦ Author π¦
Generated automatically by Doxygen for libstdc++ from the source code. π
source/version vibes: libstdc++, page: __gnu_parallel::_RandomNumber(3cxx). date? the page didnβt give me one, and Iβm not making one up, bestie ππ«Άπ
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms