gr::fec::code
gr::fec::code::block_data
gr::fec::code::cc_decoder
gr::fec::code::cc_encoder
gr::fec::code::ccsds_encoder
gr::fec::code::dummy_decoder
gr::fec::code::dummy_encoder
gr::fec::code::fec_mtrx
gr::fec::code::ldpc_bit_flip_decoder
gr::fec::code::ldpc_G_matrix
gr::fec::code::ldpc_gen_mtrx_encoder
gr::fec::code::ldpc_H_matrix
gr::fec::code::ldpc_par_mtrx_encoder
gr::fec::code::matrix
gr::fec::code::polar_common
gr::fec::code::polar_decoder_common
gr::fec::code::polar_decoder_sc
gr::fec::code::polar_decoder_sc_list
gr::fec::code::polar_decoder_sc_systematic
gr::fec::code::polar_encoder
gr::fec::code::polar_encoder_systematic
gr::fec::code::repetition_decoder
gr::fec::code::repetition_encoder
gr::fec::code::polar
void(* typedef void(* gr::fec::code::conv_kernel) (unsigned char *Y, unsigned char *X, unsigned char *syms, unsigned char *dec, unsigned int framebits, unsigned int excess, unsigned char *Branchtab) )(unsigned char *Y, unsigned char *X, unsigned char *syms, unsigned char *dec, unsigned int framebits, unsigned int excess, unsigned char *Branchtab) conv_kernel gr::fec::code::conv_kernel
FEC_API void FEC_API void gr::fec::code::matrix_free (matrix *x) matrix_free gr::fec::code::matrix_free matrix * x
FEC_API matrix_sptr FEC_API matrix_sptr gr::fec::code::read_matrix_from_file (const std::string filename) read_matrix_from_file gr::fec::code::read_matrix_from_file const std::string filename

Read in an alist file and produce the matrix object.

Takes in a an alist file (the file name as a string) and creates the corresponding matrix. The format of alist files is described at: http://www.inference.phy.cam.ac.uk/mackay/codes/alist.html

The result is returned as a matrix shared pointer.

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

FEC_API void FEC_API void gr::fec::code::write_matrix_to_file (const std::string filename, matrix_sptr M) write_matrix_to_file gr::fec::code::write_matrix_to_file const std::string filename matrix_sptr M
FEC_API matrix_sptr FEC_API matrix_sptr gr::fec::code::generate_G_transpose (matrix_sptr H_obj) generate_G_transpose gr::fec::code::generate_G_transpose matrix_sptr H_obj

Takes a parity check matrix (H) and returns the transpose of the generator matrix (G).

The result is returned as a matrix shared pointer. The form of this matrix is [I_k | P]^T, where P is the parity check matrix. It is a n x k matrix where k is the information length and n is the codeword length.

H_obj

A parity check matrix; generally derived from using read_matrix_from_file with a given alist file format.

FEC_API matrix_sptr FEC_API matrix_sptr gr::fec::code::generate_G (matrix_sptr H_obj) generate_G gr::fec::code::generate_G matrix_sptr H_obj

Takes a parity check matrix (H) and returns the generator matrix (G).

The result is returned as a matrix shared pointer. The form of this matrix is [I_k | P], where P is the parity check matrix. It is a k x n matrix where k is the information length and n is the codeword length.

H_obj

A parity check matrix; generally derived from using read_matrix_from_file with a given alist file format.

FEC_API matrix_sptr FEC_API matrix_sptr gr::fec::code::generate_H (matrix_sptr G_obj) generate_H gr::fec::code::generate_H matrix_sptr G_obj

Takes a generator matrix (G) and returns the parity check matrix (H).

G_obj

A parity check matrix; generally derived from using read_matrix_from_file with a given alist file format.

FEC_API void FEC_API void gr::fec::code::print_matrix (const matrix_sptr M, bool numpy=false) print_matrix gr::fec::code::print_matrix const matrix_sptr M bool numpy false

Takes a matrix and prints it to screen.

M

a matrix_sptr; generally a G or H matrix for LDPC codes.

numpy

will output in a format that can be copy-and-pasted directly into a numpy.matrix(~) call in Python.