(t, m, s)-nets generator
3.0.1
|
Contains specific polynomial-related functions that are necessary for (t,m,s)-net generation. More...
Functions | |
Polynomial | make_gf2poly (std::vector< uintmax_t > const &coeffs) |
std::vector< Polynomial > | generate_irrpolys (unsigned int const amount, unsigned int const max_defect=~(unsigned int)(0)) |
std::vector< Polynomial > | generate_irrpolys_in_parallel (unsigned int const amount, unsigned int const max_defect=~(unsigned int)(0)) |
std::vector< Polynomial > | generate_irrpolys_with_degrees (std::vector< unsigned int > const °rees, unsigned int const max_defect=~(unsigned int)(0)) |
std::vector< Polynomial > | generate_irrpolys_until_degree (unsigned int const degree) |
Contains specific polynomial-related functions that are necessary for (t,m,s)-net generation.
Polynomial tms::gf2poly::make_gf2poly | ( | std::vector< uintmax_t > const & | coeffs | ) |
Returns polynomial over GF(2) with the specified coefficients (represents a wrapper above irrpoly::gfpoly constructor).
[in] | coeffs | - desired polynomial coefficients |
std::vector<Polynomial> tms::gf2poly::generate_irrpolys | ( | unsigned int const | amount, |
unsigned int const | max_defect = ~(unsigned int)(0) |
||
) |
Generates vector of first least-degree irreducible polynomials over GF(2).
[in] | amount | - amount of irreducible polynomials to generate |
[in] | max_defect | - upper limit for sum of degrees of polynomials |
std::vector<Polynomial> tms::gf2poly::generate_irrpolys_in_parallel | ( | unsigned int const | amount, |
unsigned int const | max_defect = ~(unsigned int)(0) |
||
) |
Generates vector of first least-degree irreducible polynomials over GF(2) using multithreading.
[in] | amount | - amount of irreducible polynomials to generate |
[in] | max_defect | - upper limit for sum of degrees of polynomials |
std::vector<Polynomial> tms::gf2poly::generate_irrpolys_with_degrees | ( | std::vector< unsigned int > const & | degrees, |
unsigned int const | max_defect = ~(unsigned int)(0) |
||
) |
Generates vector of first irreducible polynomials over GF(2) with specified degrees.
[in] | degrees | - vector of desired degrees of irreducible polynomials |
[in] | max_defect | - upper limit for sum of degrees of polynomials |
std::vector<Polynomial> tms::gf2poly::generate_irrpolys_until_degree | ( | unsigned int const | degree | ) |
Generates vector of all first irreducible polynomials over GF(2) with degrees <= degree in "ascending" order
[in] | degree | - greatest degree of generated polynomials |