Givaro
Data Structures | Namespaces | Defines | Functions
givextension.h File Reference

NO DOX. More...

#include <gmp.h>
#include <givaro/givconfig.h>
#include <givaro/givgfq.h>
#include <givaro/givpoly1.h>
#include <givaro/givpoly1factor.h>
#include "givaro/givtablelimits.h"

Data Structures

class  Extension< BFT >
class  GIV_ExtensionrandIter< ExtensionField, Type >

Namespaces

namespace  Givaro
 

Arithmetic on GF(p^k), with p a prime number less than 2^15.


Defines

#define NEED_POLYNOMIAL_REPRESENTATION(p, e)   ((e) > FF_EXPONENT_MAX((p),(e)))
#define EXTENSION(q, expo)   ( NEED_POLYNOMIAL_REPRESENTATION((q),(expo)) ? Extension<>((q), (expo)) : GFqDom<long>((q), (expo)) )

Functions

template<class Rt >
Rt FF_EXPONENT_MAX (const Rt p, const Rt e=1)
template<typename Field >
unsigned long Exponent_Trait (const Field &F)
template<>
unsigned long Exponent_Trait (const GFqDom< long > &F)
template<typename BaseField >
unsigned long Exponent_Trait (const Extension< BaseField > &F)

Detailed Description

NO DOX.


Define Documentation

#define NEED_POLYNOMIAL_REPRESENTATION (   p,
 
)    ((e) > FF_EXPONENT_MAX((p),(e)))
#define EXTENSION (   q,
  expo 
)    ( NEED_POLYNOMIAL_REPRESENTATION((q),(expo)) ? Extension<>((q), (expo)) : GFqDom<long>((q), (expo)) )