|
(t, m, s)-nets generator
3.0.1
|
Represents container of generating numbers of a digital net. Can be used as a shortened version of generating matrix
More...
#include <common.hpp>
Public Member Functions | |
| GenNum (void) | |
| Creates empty container with no generating numbers. | |
| GenNum (GenNum const &) | |
| GenNum (GenNum &&) | |
| GenNum & | operator= (GenNum const &) |
| GenNum & | operator= (GenNum &&) |
| GenNum (std::vector< GenNumInt > const &values) | |
| GenNum (BasicInt amount) | |
| operator GenMat (void) const | |
| Casts generating numbers to the corresponding generating matrix. | |
| bool | empty (void) const |
| Checks whether generating numbers container is empty. | |
| bool | is_toeplitz (void) const |
| Checks whether the corresponding generating matrix is toeplitz. | |
| BasicInt | size (void) const |
| Returns amount of generating numbers in the containter. | |
| bool | get_bit (BasicInt i, BasicInt j) const |
| uintmax_t | operator[] (BasicInt n) const |
| void | set_bit (BasicInt i, BasicInt j, bool value) |
| uintmax_t & | operator[] (BasicInt n) |
| GenNum & | operator*= (GenNum const &l) |
Private Attributes | |
| BasicInt | m_nbits |
| std::vector< GenNumInt > | m_numbers |
Friends | |
| bool | operator== (GenNum const &r, GenNum const &l) |
Represents container of generating numbers of a digital net. Can be used as a shortened version of generating matrix
Creates generating numbers with given values
| values | – vector of generating numbers values |
Creates certain amount of zero defined generating numbers
| amount | – amount of generating numbers |
Returns certain bit of a generating number addressed as an element of generating matrix
| i | – row number |
| j | – column number |
|
inline |
Returns certain generating number
| n | – index of a number |
Sets new bit value of a certain generating number addressed as an element of generating matrix
| i | – row number |
| j | – column number |
| value | – new bit value |
|
inline |
Returns reference to a certain generating number
| n | – index of a number |