23 #ifndef INCLUDED_TPC_COMMON_H
24 #define INCLUDED_TPC_COMMON_H
34 static void rsc_enc_bit(
int input,
int state_in, std::vector<int> g,
int KK,
int nn,
35 std::vector< std::vector<int> > &output, std::vector< std::vector<int> > &nextStates);
41 std::vector< std::vector<int> > &output,
42 std::vector< std::vector<int> > &nextStates);
43 static void rsc_tail( std::vector<int> &tail_p, std::vector<int> g,
int max_states,
int mm );
44 static void itob(std::vector<int> &binVec,
int symbol,
int length);
Definition: tpc_common.h:31
static void precomputeStateTransitionMatrix_RSCPoly(int numStates, std::vector< int > g, int KK, int nn, std::vector< std::vector< int > > &output, std::vector< std::vector< int > > &nextStates)
static void rsc_enc_bit(int input, int state_in, std::vector< int > g, int KK, int nn, std::vector< std::vector< int > > &output, std::vector< std::vector< int > > &nextStates)
static void rsc_tail(std::vector< int > &tail_p, std::vector< int > g, int max_states, int mm)
static void itob(std::vector< int > &binVec, int symbol, int length)
Include this header to use the message passing features.
Definition: logger.h:131
static int parity_counter(int symbol, int length)
PMT_API size_t length(const pmt_t &v)
Return the number of elements in v.