linbox
Modules | Files | Namespaces | Data Structures | Functions
field

LinBox fields, field wrappers, field construction tools. More...

Modules

 LiDIA
 NO DOC.
 
 Modular
 Modular Field is a representation of $\mathbf{Z}/p\mathbf{Z}$.
 
 Fields <!--for oldref Fields...-->
 Base for prime fields where the elements are represented by various primitive types (and their operations).
 
 NTL
 NO DOC.
 
 UnparametricField
 Unparameterized field adapter.
 

Files

file  field/archetype.h
 NO DOC.
 
file  givaro-extension.h
 NO DOC.
 
file  field/lidia-gfq.h
 LiDIA : NO DOC.
 
file  modular-balanced-double.h
 Balanced representation of Z/mZ over double .
 
file  modular-balanced-float.h
 Balanced representation of Z/mZ over float .
 
file  modular-balanced-int32.h
 Balanced representation of Z/mZ over int32_t .
 
file  modular-balanced-int64.h
 Balanced representation of Z/mZ over int64_t .
 
file  modular-byte.h
 representation of Z/mZ over byte .
 
file  modular-crooked-double.h
 Crooked representation of Z/mZ over double .
 
file  modular-double.h
 Standard representation of Z/mZ over double .
 
file  modular-float.h
 representation of Z/mZ over float .
 
file  modular-int32.h
 representation of Z/mZ over int32_t .
 
file  modular-int64.h
 representation of Z/mZ over int64_t .
 
file  modular-short.h
 representation of Z/mZ over short .
 
file  field/modular-balanced.h
 Common header for any modular-balanced field.
 
file  field/modular.h
 A Modular field is a representations of Z/mZ.
 
file  ntl-GF2E.h
 NO DOC.
 
file  ntl-lzz_p.h
 NO DOC.
 
file  ntl-lzz_pE.h
 NO DOC.
 
file  ntl-lzz_pX.h
 NO DOC.
 
file  ntl-RR.h
 NO DOC.
 
file  field/NTL/ntl-ZZ.h
 NO DOC.
 
file  ntl-ZZ_p.h
 NO DOC.
 
file  ntl-ZZ_pE.h
 NO DOC.
 
file  ntl-ZZ_p.h
 NO DOC.
 
file  PID-double.h
 NO DOC.
 
file  PID-integer.h
 NO DOC.
 

Namespaces

namespace  LinBox::RingCategories
 some basic information about each field or ring.
 

Data Structures

class  FieldAbstract
 field base class. More...
 
class  FieldArchetype
 field specification and archetypical instance. More...
 
class  FieldEnvelope< Field >
 Derived class used to implement the field archetypeHelps to minimize code bloat. More...
 
class  FieldInterface
 This field base class exists solely to aid documentation organization. More...
 
struct  ClassifyRing< Field >
 Default ring category. More...
 
struct  GivaroField< LinBox::GF2 >
 give LinBox fields an allure of Givaro FieldsThis class adds the necessary requirements allowing the construction of an extension of a LinBox field. More...
 
struct  GivaroField< BaseField >
 give LinBox fields an allure of Givaro FieldsThis class adds the necessary requirements allowing the construction of an extension of a LinBox field or a givaro polynomial of a LinBox field ... More...
 
class  GivaroGfq
 Wrapper of Givaro's GFqDom<int32_t> class. More...
 
class  GivaroMontg
 wrapper of Givaro's Givaro::Montgomery< Givaro::Std32>. More...
 
class  GivaroZpz< TAG >
 wrapper of Givaro's ZpzDom. More...
 
class  Hom< Source, Target >
 map element of source ring(field) to target ringAn instance of Hom is a homomorphism from a ring of type Source to a ring (usually field) of type Target. More...
 
class  LidiaGfq
 defines the Galois Field GF(pk). More...
 
struct  Local2_32
 Fast arithmetic mod 2^32, including gcd. More...
 
class  Modular< int8_t >
 Specialization of Modular to signed 8 bit element type with efficient dot product. More...
 
class  Modular< int32_t >
 Specialization of Modular to int32_t element type with efficient dot product. More...
 
class  Modular< int64_t >
 Specialization of Modular to int64_t element type with efficient dot product. More...
 
class  Modular< int16_t >
 Specialization of Modular to short element type with efficient dot product. More...
 
struct  NTL_zz_p
 long ints modulo a positive integer. More...
 
class  NTL_zz_pE
 zz_pE Define a parameterized class to easily handle UnparametricField<NTL::zz_pE> field More...
 
class  ParamFuzzy
 Abstract parameterized field of "fuzzy" doubles. More...
 
struct  NTL_PID_zz_p
 extend Wrapper of zz_p from NTL. More...
 
class  PIR_ntl_ZZ_p
 extend Wrapper of ZZ_p from NTL. More...
 

Functions

template<>
NTL::ZZ_p & Caster (NTL::ZZ_p &x, const Integer &y)
 Initialization of field element from an Integer.
 

Detailed Description

LinBox fields, field wrappers, field construction tools.

LinBox fields implement the concept which is specified in the field archetype.

Some implement a basic ring concept rather than a field (inv and div are partial functions). Ring representations with additional functions are also found in the ring directory.

Function Documentation

NTL::ZZ_p& Givaro::Caster ( NTL::ZZ_p &  x,
const Integer &  y 
)

Initialization of field element from an Integer.

Behaves like C++ allocator construct. This function assumes the output field element x has already been constructed, but that it is not already initialized. This done by converting to a std::string : inefficient but correct.

Returns
reference to field element.
Parameters
xfield element to contain output (reference returned).
yInteger.