algebramix_doc 0.3
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().

                               {
    if (N(v) == 0) v= vec (M(2), M(3));
    nat p= *(v[N(v) - 1]) + 2;
    while (N(v) < i) {
      if (is_prime (v, p)) v << M(p);
      p += 2;
    }
    return true; }

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