 |
GNU Radio Manual and C++ API Reference
3.9.1.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
21 std::vector<uint8_t> vec;
24 void resize(
int size);
40 void set_vec(
const std::vector<uint8_t>);
61 #endif // #ifndef GF2VEC_H
friend GF2Vec operator+(GF2Vec a, GF2Vec b)
Overloading the operator '+'.
void set_vec(const std::vector< uint8_t >)
Resets the vector with the given input.
friend uint8_t operator*(GF2Vec a, GF2Vec b)
Overloading the operator '*'.
uint8_t & operator[](int i)
Access the ith element.
int size()
Returns the size of the vector.
void operator=(GF2Vec x)
Overloading the operator '='.
std::vector< uint8_t > get_vec()
Returns the vector.
void print_vec()
Prints the vector.
GF2Vec sub_vector(int i, int j)
Obtain a subvector between the indices i to j.
GF2Vec()
Default constructor.
Definition: gf2vec.h:28