coprime_moduli_sequence_polynomial Struct Reference

#include <crt_polynomial.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 23 of file crt_polynomial.hpp.


Member Function Documentation

static bool extend ( vector< modulus< polynomial< C, V >, W >, Z > &  v,
nat  k 
) [inline, static]

Definition at line 25 of file crt_polynomial.hpp.

References mmx::C, mmx::N(), mmx::W, and mmx::x.

00025                                                             {
00026     static polynomial<C,V> x (C(1), 1);
00027     for (nat i= N(v); i < k; i++) {
00028         if (i != 0 && C (i) == 0) return false;
00029         v << modulus<polynomial<C,V>, W> (x - C (i));
00030     }
00031     return true; }


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

Generated on 6 Dec 2012 for algebramix by  doxygen 1.6.1