gr::fec::code::ldpc_G_matrix
gr::fec::code::fec_mtrx
std::enable_shared_from_this< ldpc_G_matrix >
gnuradio/fec/ldpc_G_matrix.h
std::shared_ptr< ldpc_G_matrix > std::shared_ptr<ldpc_G_matrix> gr::fec::code::ldpc_G_matrix::sptr sptr gr::fec::code::ldpc_G_matrix::sptr
sptr static sptr gr::fec::code::ldpc_G_matrix::make (const std::string filename) make gr::fec::code::ldpc_G_matrix::make const std::string filename

Constructor given alist file.

1. Reads in the matrix from an alist file

2. Determines if the matrix format is G=[I P] or H=[P' I]

3. Solves for G transpose (will be used during encoding)

filename

Name of an alist file to use. The alist format is described at: http://www.inference.phy.cam.ac.uk/mackay/codes/alist.html

void void gr::fec::code::ldpc_G_matrix::encode (unsigned char *outbuffer, const unsigned char *inbuffer) const override=0 encode gr::fec::code::ldpc_G_matrix::encode encode unsigned char * outbuffer const unsigned char * inbuffer

Encode `inbuffer` with LDPC H matrix into `outbuffer`.

void void gr::fec::code::ldpc_G_matrix::decode (unsigned char *outbuffer, const float *inbuffer, unsigned int frame_size, unsigned int max_iterations) const override=0 decode gr::fec::code::ldpc_G_matrix::decode decode unsigned char * outbuffer const float * inbuffer unsigned int frame_size unsigned int max_iterations

Decode `inbuffer` with LDPC H matrix into `outbuffer`.

unsigned int unsigned int gr::fec::code::ldpc_G_matrix::n () const override=0 n gr::fec::code::ldpc_G_matrix::n n

Get the codeword length n.

unsigned int unsigned int gr::fec::code::ldpc_G_matrix::k () const override=0 k gr::fec::code::ldpc_G_matrix::k k

Get the information word length k.

Class for storing H or G matrix.

This class stores a matrix variable, specifically either a:

1) Generator matrix, G, in the standard format G = [I P], where I is an identity matrix and P is the parity submatrix.

or

2) Parity matrix, H, in the standard format H = [P' I], where P' is the transpose of the parity submatrix and I is an identity matrix.

This variable can used by the ldpc_gen_mtrx_encoder and ldpc_bit_flip_decoder classes.

gr::fec::code::fec_mtrx
gr::fec::code::ldpc_G_matrix
std::enable_shared_from_this< ldpc_G_matrix >
gr::fec::code::fec_mtrx
gr::fec::code::ldpc_G_matrix
std::enable_shared_from_this< ldpc_G_matrix >
- gr::fec::code::ldpc_G_matrix
  decode
- gr::fec::code::ldpc_G_matrix
  encode
- gr::fec::code::ldpc_G_matrix
  fec_mtrx
- gr::fec::code::ldpc_G_matrix
  k
- gr::fec::code::ldpc_G_matrix
  make
- gr::fec::code::ldpc_G_matrix
  n
- gr::fec::code::ldpc_G_matrix
  sptr
- gr::fec::code::ldpc_G_matrix
  ~fec_mtrx