HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_PolyField Class Reference

#include <UT_PolyField.h>

Public Member Functions

 UT_PolyField (unsigned x=0)
 
 UT_PolyField (const UT_PolyField &x)
 
 UT_PolyField (const UT_VeryLong &x)
 
 UT_PolyField (const unsigned *data, int nwords)
 
 UT_PolyField (const char *string)
 
 ~UT_PolyField ()
 
UT_PolyFieldoperator= (const UT_PolyField &x)
 
UT_PolyFieldoperator= (uint x)
 
UT_PolyFieldoperator= (const char *x)
 
UT_PolyFieldoperator+= (const UT_PolyField &x)
 
UT_PolyFieldoperator-= (const UT_PolyField &x)
 
UT_PolyFieldoperator*= (const UT_PolyField &x)
 
UT_PolyFieldoperator%= (const UT_PolyField &x)
 
UT_PolyFieldoperator^= (const UT_PolyField &x)
 
UT_PolyFieldoperator<<= (uint shift)
 
UT_PolyFieldoperator>>= (uint shift)
 
int getNumBits () const
 
int getBit (int i) const
 
int isZero () const
 
ut_VeryLongValue * getValue ()
 
const ut_VeryLongValue * getValue () const
 
void printVariable (const char *name) const
 
void print (const char *prefix=0, int radix=16, const char *suffix="\n") const
 
void saveToBitStream (UT_BitStream &bs, int nbits)
 
void loadFromBitStream (UT_BitStream &bs, int nbits)
 
const unsigned * getData (unsigned &len) const
 
void setData (const unsigned *data, unsigned len)
 

Static Public Member Functions

static void inverse (UT_PolyField &dest, const UT_PolyField &a, const UT_PolyField &f)
 
static void multiply (UT_PolyField &dest, const UT_PolyField &a, const UT_PolyField &b)
 
static void add (UT_PolyField &dest, const UT_PolyField &a, const UT_PolyField &b)
 
static void modulo (UT_PolyField &dest, const UT_PolyField &a, const UT_PolyField &f)
 
static void square (UT_PolyField &dest, const UT_PolyField &a, const UT_PolyField &f, const int basis[])
 
static void reduce (UT_PolyField &dest, const UT_PolyField &a, const UT_PolyField &f, const int basis[])
 

Friends

class UT_VeryLong
 
int operator!= (const UT_PolyField &x, const UT_PolyField &y)
 
int operator== (const UT_PolyField &x, const UT_PolyField &y)
 
int operator>= (const UT_PolyField &x, const UT_PolyField &y)
 
int operator<= (const UT_PolyField &x, const UT_PolyField &y)
 
int operator> (const UT_PolyField &x, const UT_PolyField &y)
 
int operator< (const UT_PolyField &x, const UT_PolyField &y)
 

Detailed Description

Definition at line 34 of file UT_PolyField.h.

Constructor & Destructor Documentation

UT_PolyField::UT_PolyField ( unsigned  x = 0)
UT_PolyField::UT_PolyField ( const UT_PolyField x)
UT_PolyField::UT_PolyField ( const UT_VeryLong x)
UT_PolyField::UT_PolyField ( const unsigned *  data,
int  nwords 
)
UT_PolyField::UT_PolyField ( const char *  string)
UT_PolyField::~UT_PolyField ( )

Member Function Documentation

static void UT_PolyField::add ( UT_PolyField dest,
const UT_PolyField a,
const UT_PolyField b 
)
static
int UT_PolyField::getBit ( int  i) const
const unsigned* UT_PolyField::getData ( unsigned &  len) const
int UT_PolyField::getNumBits ( ) const
ut_VeryLongValue* UT_PolyField::getValue ( )
inline

Definition at line 99 of file UT_PolyField.h.

const ut_VeryLongValue* UT_PolyField::getValue ( ) const
inline

Definition at line 100 of file UT_PolyField.h.

static void UT_PolyField::inverse ( UT_PolyField dest,
const UT_PolyField a,
const UT_PolyField f 
)
static
int UT_PolyField::isZero ( ) const
void UT_PolyField::loadFromBitStream ( UT_BitStream bs,
int  nbits 
)
static void UT_PolyField::modulo ( UT_PolyField dest,
const UT_PolyField a,
const UT_PolyField f 
)
static
static void UT_PolyField::multiply ( UT_PolyField dest,
const UT_PolyField a,
const UT_PolyField b 
)
static
UT_PolyField& UT_PolyField::operator%= ( const UT_PolyField x)
UT_PolyField& UT_PolyField::operator*= ( const UT_PolyField x)
UT_PolyField& UT_PolyField::operator+= ( const UT_PolyField x)
UT_PolyField& UT_PolyField::operator-= ( const UT_PolyField x)
inline

Definition at line 50 of file UT_PolyField.h.

UT_PolyField& UT_PolyField::operator<<= ( uint  shift)
UT_PolyField& UT_PolyField::operator= ( const UT_PolyField x)
UT_PolyField& UT_PolyField::operator= ( uint  x)
UT_PolyField& UT_PolyField::operator= ( const char *  x)
UT_PolyField& UT_PolyField::operator>>= ( uint  shift)
UT_PolyField& UT_PolyField::operator^= ( const UT_PolyField x)
void UT_PolyField::print ( const char *  prefix = 0,
int  radix = 16,
const char *  suffix = "\n" 
) const
void UT_PolyField::printVariable ( const char *  name) const
static void UT_PolyField::reduce ( UT_PolyField dest,
const UT_PolyField a,
const UT_PolyField f,
const int  basis[] 
)
static
void UT_PolyField::saveToBitStream ( UT_BitStream bs,
int  nbits 
)
void UT_PolyField::setData ( const unsigned *  data,
unsigned  len 
)
static void UT_PolyField::square ( UT_PolyField dest,
const UT_PolyField a,
const UT_PolyField f,
const int  basis[] 
)
static

Friends And Related Function Documentation

int operator!= ( const UT_PolyField x,
const UT_PolyField y 
)
friend

Definition at line 61 of file UT_PolyField.h.

int operator< ( const UT_PolyField x,
const UT_PolyField y 
)
friend

Definition at line 76 of file UT_PolyField.h.

int operator<= ( const UT_PolyField x,
const UT_PolyField y 
)
friend

Definition at line 70 of file UT_PolyField.h.

int operator== ( const UT_PolyField x,
const UT_PolyField y 
)
friend

Definition at line 64 of file UT_PolyField.h.

int operator> ( const UT_PolyField x,
const UT_PolyField y 
)
friend

Definition at line 73 of file UT_PolyField.h.

int operator>= ( const UT_PolyField x,
const UT_PolyField y 
)
friend

Definition at line 67 of file UT_PolyField.h.

friend class UT_VeryLong
friend

Definition at line 121 of file UT_PolyField.h.


The documentation for this class was generated from the following file: