 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
63 std::vector<char>
encode(std::vector<char> dataword);
81 std::vector<char>
syndrome(
const std::vector<char> in);
100 std::vector<int> permute;
115 #endif // ifndef LDPC_H
void set_alist(const alist _list)
Set the variable _list.
int get_N()
Returns the variable N.
std::vector< char > get_systematic_bits(std::vector< char > in)
Obtain systematic bits from "in".
std::vector< char > syndrome(const std::vector< char > in)
Returns the syndrome for a given vector "in".
bool is_codeword(const std::vector< char > in)
Returns true if "in" is a codeword, else false.
GF2Mat get_G()
Returns the matrix G used in encoding.
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:30
cldpc(const GF2Mat X)
Constructs the LDPC class from given GF2mat X.
std::vector< char > encode(std::vector< char > dataword)
Encode the given vector dataword.
int get_M()
Returns the variable M.
void print_permute()
Prints the variable permute.
cldpc()
Default constructor.
Definition: cldpc.h:39
int dimension()
Returns the dimension of the code.
GF2Mat get_H()
Returns the parity check matrix H.
cldpc(const alist _list)
Constructs the class from the given alist _list.