|
algebramix_doc 0.3
|
#include <crt_naive.hpp>
Definition at line 68 of file crt_naive.hpp.
| static bool covering | ( | vector< M, V > & | v, |
| nat | s | ||
| ) | [inline, static] |
Definition at line 70 of file crt_naive.hpp.
References M.
{
static coprime_moduli_sequence<M,W> seq;
v= vector<M,V> (M (0), s);
for (nat i= 0; i < s; i++) {
v[i]= seq[i];
if (v[i] == 0) return false;
}
return true; }