Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FLinearFeedbackShiftRegister
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/LFSR.h |
| Include | #include "Math/LFSR.h" |
uint32 GetNextValue
(
uint32 N
)
Remarks
LFSR numbers usually only include N^2-1 numbers for N bit. We do apply a -1 to get the value 0 out. So, for N=4, it should return {0, 1, 2} in random order.