35 #include <itpp/itexports.h>
58 Reed_Solomon(
int in_m,
int in_t,
bool sys =
false,
int in_b = 1);
63 virtual void encode(
const bvec &uncoded_bits, bvec &coded_bits);
65 virtual bvec encode(
const bvec &uncoded_bits);
82 virtual bool decode(
const bvec &coded_bits,
const ivec &erasure_positions, bvec &decoded_message, bvec &cw_isvalid);
95 virtual bool decode(
const bvec &coded_bits, bvec &decoded_message, bvec &cw_isvalid);
98 virtual void decode(
const bvec &coded_bits, bvec &decoded_bits);
100 virtual bvec decode(
const bvec &coded_bits);
103 virtual void decode(
const vec &received_signal, bvec &output);
104 virtual bvec decode(
const vec &received_signal);
107 virtual double get_rate()
const {
return static_cast<double>(k) / n; }
115 int m,
t, k, n, q, b;
125 #endif // #ifndef REEDSOLOMON_H