algebramix_doc 0.3
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(), and mmx::W.

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

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines