|
Givaro 4.2.1
|
#include <iostream>#include <givaro/modular.h>#include <givaro/modular-balanced.h>#include <givaro/modular-extended.h>#include <givaro/givpoly1.h>#include <givaro/givinteger.h>#include <givaro/zring.h>#include <givaro/gfq.h>#include <recint/recint.h>Macros | |
| #define | TESTE_EG(a, b) |
| #define | TESTE_T(b) |
| #define | JETESTE(a, s) |
| #define | JEPOLTESTE(a, s) |
| #define | JEONETESTE(F, x, y) |
| #define | NBITER 50 |
| #define | DEGMAX 75 |
| #define | NBITERD 10 |
| #define | TEST_SPECIFIC(Ring, Name, Modulus...) |
| #define | TEST_POLYNOMIAL(BaseRing, Name, BaseRingName) |
| #define | TEST_LAST(Field, Name) |
| #define | TEST_INV(Field, Name, Prime) |
Functions | |
| template<class Ring> | |
| int | TestOneRing (const Ring &F, const typename Ring::Element &x, const typename Ring::Element &y) |
| template<class Ring> | |
| int | TestRing (const Ring &F, const uint64_t seed) |
| template<class Ring> | |
| int | TestPolRing (const Ring &F, const uint64_t seed) |
| template<class Ring> | |
| int | TestInv (const Ring &F, const uint64_t seed) |
| int | main (int argc, char **argv) |
| #define TESTE_EG | ( | a, | |
| b ) |
| #define TESTE_T | ( | b | ) |
| #define JETESTE | ( | a, | |
| s ) |
| #define JEPOLTESTE | ( | a, | |
| s ) |
| #define JEONETESTE | ( | F, | |
| x, | |||
| y ) |
| #define NBITER 50 |
| #define DEGMAX 75 |
| #define NBITERD 10 |
| #define TEST_SPECIFIC | ( | Ring, | |
| Name, | |||
| Modulus... ) |
| #define TEST_POLYNOMIAL | ( | BaseRing, | |
| Name, | |||
| BaseRingName ) |
| #define TEST_LAST | ( | Field, | |
| Name ) |
| #define TEST_INV | ( | Field, | |
| Name, | |||
| Prime ) |
| int TestOneRing | ( | const Ring & | F, |
| const typename Ring::Element & | x, | ||
| const typename Ring::Element & | y ) |
| int TestRing | ( | const Ring & | F, |
| const uint64_t | seed ) |
| int TestPolRing | ( | const Ring & | F, |
| const uint64_t | seed ) |
| int TestInv | ( | const Ring & | F, |
| const uint64_t | seed ) |
| int main | ( | int | argc, |
| char ** | argv ) |