Extended Golay code (24,12,8). More...
#include <itpp/comm/egolay.h>
Public Member Functions | |
Extended_Golay () | |
Constructor. | |
virtual | ~Extended_Golay () |
Destructor. | |
virtual void | encode (const bvec &uncoded_bits, bvec &coded_bits) |
Encoder. Will truncate some bits if not length = integer * 12. | |
virtual bvec | encode (const bvec &uncoded_bits) |
Encoder. Will truncate some bits if not length = integer * 12. | |
virtual void | decode (const bvec &coded_bits, bvec &decoded_bits) |
Decoder. Will truncate some bits if not length = integer * 24. | |
virtual bvec | decode (const bvec &coded_bits) |
Decoder. Will truncate some bits if not length = integer * 24. | |
virtual void | decode (const vec &received_signal, bvec &output) |
Decode a vec of received data. | |
virtual bvec | decode (const vec &received_signal) |
Decode a vec of received data. | |
virtual double | get_rate () const |
Get the code rate. | |
bmat | get_G () const |
Gets the generator matrix for the code (also the parity check matrix) | |
Extended Golay code (24,12,8).
The code is given in systematic form with the information bits first, followed by the parity check bits. The decoder uses the arithmetic decoding algorithm that is for example described in Wicker "Error Control Systems for Digital Communication and Storage", Prentice Hall, 1995 (page 143).
Generated on Sat May 25 2013 16:32:30 for IT++ by Doxygen 1.8.2