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