NO DOC
#include <iostream>
using namespace std;
#include <stdlib.h>
#include <givaro/givintnumtheo.h>
#include <givaro/givtimer.h>
int main(int argc, char ** argv)
{
IntNumTheoDom<> IP;
IntNumTheoDom<>::Element a,q,o;
if (argc > 1) a = Integer(argv[1]); else cin >> a;
if (argc > 2) q = Integer(argv[2]); else cin >> q;
Timer tim; tim.clear(); tim.start();
IP.order(o, a, q);
tim.stop();
cout << o << endl;
cerr << tim << endl;
return 0;
}
Namespace in which the whole Givaro library resides.
Definition: all_field.C:23