You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[math] Address review feedback on TRandom URBG interface
- Convert // NOTE: comment to Doxygen /// \note format in TRandom.h
- Make TRandom::operator()() virtual so subclasses can override it
- Add TRandom2::operator()() returning raw Tausworthe XOR output,
avoiding the double round-trip through Rndm() / kScale
- Add TRandom3::operator()() returning raw Mersenne Twister output,
same motivation as above
- Extend testMathRandom test5() to exercise TRandom2 as a URBG
TRandom1 (RANLUX) has a float-based internal state with no meaningful
raw integer path, so it keeps the base-class fallback.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments