MTToolBox  0.2.10
Data Structures | Public Member Functions
MTToolBox::AlgorithmCalculateParity< U, G > Class Template Reference

Calculate the parity check vector of reducible generator. More...

#include <AlgorithmCalculateParity.hpp>

Public Member Functions

searchParity (G &g, const NTL::GF2X &f)
 calculate the basis of subspace annihilated by q, and get the period certification vector (parity vector). More...
 

Detailed Description

template<typename U, typename G>
class MTToolBox::AlgorithmCalculateParity< U, G >

Calculate the parity check vector of reducible generator.

Template Parameters
Utype of output of generator
Ggenerator

Member Function Documentation

template<typename U, typename G>
U MTToolBox::AlgorithmCalculateParity< U, G >::searchParity ( G &  g,
const NTL::GF2X &  f 
)
inline

calculate the basis of subspace annihilated by q, and get the period certification vector (parity vector).

Parameters
[in]greducible generator
[in]flarge irreducible factor of characteristic polynomial.
Returns
the period certification vector (parity vector)

References MTToolBox::isZero(), and MTToolBox::setZero().

Referenced by MTToolBox::AlgorithmReducibleRecursionAndTempering< U, G >::search().


The documentation for this class was generated from the following file: