Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/LFSR.h |
| Include | #include "Math/LFSR.h" |
Syntax
class FLinearFeedbackShiftRegister
Remarks
See https://en.wikipedia.org/wiki/Linear-feedback_shift_register This implements maximal-length feedback polynomials LFSR for N bits in [2, 12].
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetNextValue
(
uint32 N |
LFSR numbers usually only include N^2-1 numbers for N bit. | |
| uint32 | GetNextValueWithLast
(
uint32 N |
This function is the same as above. |