NO DOC.
#include <iostream>
#include <givaro/givpower.h>
#include <givaro/modular.h>
#include <givaro/gfq.h>
int main(int argc, char ** argv) {
{
Modular<int32_t>::Element a, c;
long l = 29;
dom_power(c, a, l, Z13);
std::cerr << "Within ";
std::cerr << " : " << std::flush;
Z13.write( std::cout, a) << " ^ " << l << " = " << std::flush;
Z13.write( std::cerr, c) << std::endl;
}
{
typedef GFqDom<int>::Residu_t TT;
int Mod = 13; int exponent = 1;
GFqDom<int>::Element a, c;
long l = 29;
dom_power(c, a, l, GF13);
GF13.
write( std::cerr <<
"Within " ) <<
" : " << std::flush;
GF13.write( GF13.write(
std::cout, a) << " ^ " << l << " = ", c) << std::endl;
}
return 0;
}
class GFqDom
Definition: gfq.h:36
Forward declaration for Givaro::Modular.
Definition: modular-inttype.h:37
Namespace in which the whole Givaro library resides.
Definition: all_field.C:23