prime_sequence_int Struct Reference

#include <crt_int.hpp>

List of all members.

Static Public Member Functions


Detailed Description

Definition at line 81 of file crt_int.hpp.


Member Function Documentation

static bool extend ( vector< M > &  v,
nat  i 
) [inline, static]

Definition at line 94 of file crt_int.hpp.

References M, and mmx::N().

00094                                {
00095     if (N(v) == 0) v= vec (M(2), M(3));
00096     nat p= *(v[N(v) - 1]) + 2;
00097     while (N(v) < i) {
00098       if (is_prime (v, p)) v << M(p);
00099       p += 2;
00100     }
00101     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