Generates a maximal length pseudo-random sequence of length 2^degree-1. More...
#include <gri_glfsr.h>
Public Member Functions | |
gri_glfsr (int mask, int seed) | |
unsigned char | next_bit () |
int | mask () const |
Static Public Member Functions | |
static int | glfsr_mask (int degree) |
Generates a maximal length pseudo-random sequence of length 2^degree-1.
gri_glfsr::gri_glfsr | ( | int | mask, | |
int | seed | |||
) | [inline] |
static int gri_glfsr::glfsr_mask | ( | int | degree | ) | [static] |
int gri_glfsr::mask | ( | ) | const [inline] |
unsigned char gri_glfsr::next_bit | ( | ) | [inline] |