#include <gnuradio/fec/gf2vec.h>
|
| | GF2Vec () |
| | Default constructor.
|
| |
| | GF2Vec (int size) |
| | Constructs a vector of length "size" with all 0 entries.
|
| |
| std::vector< uint8_t > | get_vec () |
| | Returns the vector.
|
| |
| int | size () |
| | Returns the size of the vector.
|
| |
| void | set_vec (const std::vector< uint8_t >) |
| | Resets the vector with the given input.
|
| |
| uint8_t & | operator[] (int i) |
| | Access the ith element.
|
| |
| void | operator= (GF2Vec x) |
| | Overloading the operator '='.
|
| |
| GF2Vec | sub_vector (int i, int j) |
| | Obtain a subvector between the indices i to j.
|
| |
| void | print_vec () |
| | Prints the vector.
|
| |
◆ GF2Vec() [1/2]
◆ GF2Vec() [2/2]
| GF2Vec::GF2Vec |
( |
int |
size | ) |
|
Constructs a vector of length "size" with all 0 entries.
◆ get_vec()
| std::vector< uint8_t > GF2Vec::get_vec |
( |
| ) |
|
◆ operator=()
| void GF2Vec::operator= |
( |
GF2Vec |
x | ) |
|
Overloading the operator '='.
◆ operator[]()
| uint8_t & GF2Vec::operator[] |
( |
int |
i | ) |
|
◆ print_vec()
| void GF2Vec::print_vec |
( |
| ) |
|
◆ set_vec()
| void GF2Vec::set_vec |
( |
const std::vector< uint8_t > |
| ) |
|
Resets the vector with the given input.
◆ size()
Returns the size of the vector.
◆ sub_vector()
| GF2Vec GF2Vec::sub_vector |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
Obtain a subvector between the indices i to j.
◆ operator*
Overloading the operator '*'.
◆ operator+
Overloading the operator '+'.
The documentation for this class was generated from the following file: