Givaro
Data Structures | Namespaces | Macros | Functions
extension.h File Reference

NO DOX. More...

#include <gmp.h>
#include <givaro/gfq.h>
#include <givaro/givconfig.h>
#include <givaro/givpoly1.h>
#include <givaro/givpoly1factor.h>
#include <givaro/givpoly1padic.h>
#include "givaro/givtablelimits.h"
+ Include dependency graph for extension.h:

Data Structures

class  Extension< BFT >
 Extension. More...
 
class  GIV_ExtensionrandIter< ExtensionField, Type >
 Extension rand iters. More...
 

Namespaces

 Givaro
 Namespace in which the whole Givaro library resides.
 

Macros

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

Functions

template<class Rt >
Rt FF_EXPONENT_MAX (const Rt p, const Rt maxe=21)
 XXX. More...
 
template<class Rt >
Rt FF_SUBEXPONENT_MAX (const Rt p, const Rt e)
 XXX. More...
 
template<typename Field >
int64_t Exponent_Trait (const Field &F)
 XXX. More...
 
template<>
int64_t Exponent_Trait (const GFqDom< int64_t > &F)
 XXX. More...
 
template<typename BaseField >
int64_t Exponent_Trait (const Extension< BaseField > &F)
 XXX. More...
 

Detailed Description

NO DOX.

Macro Definition Documentation

◆ NEED_POLYNOMIAL_REPRESENTATION

#define NEED_POLYNOMIAL_REPRESENTATION (   p,
 
)    ((e) > FF_SUBEXPONENT_MAX((p),(e)))

◆ EXTENSION

#define EXTENSION (   q,
  expo 
)    ( NEED_POLYNOMIAL_REPRESENTATION((q),(expo)) ? Extension<>((q), (expo)) : GFqDom<int64_t>((q), (expo)) )