#include <itpp/comm/sequence.h>
Public Member Functions | |
LFSR (void) | |
Constructor. | |
LFSR (const bvec &connections) | |
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in bvec format [g0,g1,...,gr]. | |
LFSR (const ivec &connections) | |
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in octal format. | |
void | set_connections (const bvec &connections) |
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in bvec format [g0,g1,...,gr]. | |
void | set_connections (const ivec &connections) |
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in octal format. | |
void | set_state (const bvec &state) |
Set state (contents in the shift registers) in bvec format. | |
void | set_state (const ivec &state) |
Set state (contents in the shift registers) in octal format. | |
bin | shift (void) |
Shift one step and output binary symbol. | |
bvec | shift (int no_shifts) |
Shift no_shifts steps and output bvec. | |
int | get_length (void) |
Return length of shift register. | |
bvec | get_state (void) |
Returns the state of the shift register. |
Definition at line 54 of file sequence.h.
|
Constructor.
Definition at line 57 of file sequence.h. |
|
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in bvec format [g0,g1,...,gr].
Definition at line 39 of file sequence.cpp. References set_connections(). |
|
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in octal format.
Definition at line 44 of file sequence.cpp. References set_connections(). |
|
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in bvec format [g0,g1,...,gr].
Definition at line 49 of file sequence.cpp. Referenced by itpp::Gold::Gold(), and LFSR(). |
|
Input connect_polynomial=1+g1*D+g2*D^2+...+gr*D^r in octal format.
Definition at line 56 of file sequence.cpp. References itpp::oct2bin(). |
|
Set state (contents in the shift registers) in bvec format.
Definition at line 64 of file sequence.cpp. References it_assert. Referenced by itpp::Gold::set_state(). |
|
Set state (contents in the shift registers) in octal format.
Definition at line 70 of file sequence.cpp. References it_assert, and itpp::oct2bin(). |
|
Shift one step and output binary symbol.
Definition at line 122 of file sequence.h. Referenced by itpp::Gold::get_family(), itpp::Gold::shift(), and shift(). |
|
Shift no_shifts steps and output bvec.
Definition at line 77 of file sequence.cpp. |
|
Return length of shift register.
Definition at line 123 of file sequence.h. Referenced by itpp::Gold::get_family(), and itpp::Gold::Gold(). |
|
Returns the state of the shift register.
Definition at line 124 of file sequence.h. |
Generated on Thu Apr 19 14:24:03 2007 for IT++ by Doxygen 1.4.6