Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Local2_32 Struct Reference

#include <local2_32.h>

Inheritance diagram for Local2_32:

UnparametricField< uint32 > FieldInterface List of all members.

Public Types

typedef UnparametricField<
uint32 >::Element 
Element
enum  Exponent { _min = 0, _max = 32 }

Public Methods

 Local2_32 (int p=2, int exp=32)

Static Public Methods

Exponent & gcdin (Exponent &k, const Element &b)
bool isUnit (const Exponent &a)
bool isZero (const Element &a)
bool isZero (const Exponent &a)
bool isUnit (const Element &a)
Element & mulin (Element &a, const Exponent &k)
Element & mulin (Element &a, const Element &b)
Element & axpyin (Element &r, const Element &x, const Element &y)
Element & divin (Element &a, const Exponent &k)
Element & inv (Element &a, const Element &b)
integer getMaxModulus ()

Static Protected Methods

Element & xgcd (Element &d, Element &s, Element &t, const Element &a, const Element &b)
Element & HGCD (Element &g, Element &s, const Element &a, const Element &b)
 Half GCD g = gcd (a, b). exists t, such that: s * a + t * b = g. return g.


Member Typedef Documentation

typedef UnparametricField<uint32>::Element Element
 

The field's element type. Type K must provide a default constructor, a copy constructor, a destructor, and an assignment operator.

Reimplemented from UnparametricField< uint32 >.


Member Enumeration Documentation

enum Exponent
 

Enumeration values:
_min 
_max 


Constructor & Destructor Documentation

Local2_32 (  int    p = 2,
int    exp = 32
)  [inline]
 


Member Function Documentation

Element& axpyin (  Element &    r,
const Element &    x,
const Element &    y
)  [inline, static]
 

Element& divin (  Element &    a,
const Exponent &    k
)  [inline, static]
 

Exponent& gcdin (  Exponent &    k,
const Element &    b
)  [inline, static]
 

integer getMaxModulus (    )  [inline, static]
 

Element& HGCD (  Element &    g,
Element &    s,
const Element &    a,
const Element &    b
)  [inline, static, protected]
 

Half GCD g = gcd (a, b). exists t, such that: s * a + t * b = g. return g.

Element& inv (  Element &    a,
const Element &    b
)  [inline, static]
 

bool isUnit (  const Element &    a )  [inline, static]
 

bool isUnit (  const Exponent &    a )  [inline, static]
 

bool isZero (  const Exponent &    a )  [inline, static]
 

bool isZero (  const Element &    a )  [inline, static]
 

Element& mulin (  Element &    a,
const Element &    b
)  [inline, static]
 

Element& mulin (  Element &    a,
const Exponent &    k
)  [inline, static]
 

Element& xgcd (  Element &    d,
Element &    s,
Element &    t,
const Element &    a,
const Element &    b
)  [inline, static, protected]
 


Generated on Mon Jun 20 09:16:54 2005 for linbox by doxygen1.2.18