polynompairdefs< DEGREE > Class Template Reference

polynompair traits More...

#include <polynomdefs.h>

List of all members.

Public Types

enum  { maxdegree_m = DEGREE }
enum  { size_m = 2*(nextpow2num<DEGREE>::value) * (nextpow2num<DEGREE>::value) }

Public Member Functions

int getSize () const

Static Public Member Functions

static short getPairIndex (const short a, const short b)
 compute a*(2^pshift)+b
static short getGroupIndex (const short a)
 compute a*(2^pshift)+b

Private Types

enum  { pshift_m = needbits<DEGREE>::valueplusone }
 

due to compile problems with some compilers enums are used instead of regular member variables

More...

Detailed Description

template<int DEGREE>
class polynompairdefs< DEGREE >

Todo:
Codereduzierung: polynompairdefskoennte wegfallen, wenn pair eingesetzt wird.

Definition at line 273 of file polynomdefs.h.


Member Enumeration Documentation

template<int DEGREE>
anonymous enum [private]
Enumerator:
pshift_m 

Definition at line 277 of file polynomdefs.h.

template<int DEGREE>
anonymous enum
Enumerator:
maxdegree_m 

maximal zulaessige Grad eines Polynommonoms mit der Einstellung DEGREE

Definition at line 281 of file polynomdefs.h.

template<int DEGREE>
anonymous enum
Enumerator:
size_m 

Anzahl bytes, die von einem arrayindex der Polynomkoeffizientenliste belegt werden.

Definition at line 285 of file polynomdefs.h.


Member Function Documentation

template<int DEGREE>
static short polynompairdefs< DEGREE >::getGroupIndex ( const short  a  )  [inline, static]

Definition at line 303 of file polynomdefs.h.

template<int DEGREE>
static short polynompairdefs< DEGREE >::getPairIndex ( const short  a,
const short  b 
) [inline, static]

Definition at line 291 of file polynomdefs.h.

template<int DEGREE>
int polynompairdefs< DEGREE >::getSize (  )  const [inline]

Definition at line 289 of file polynomdefs.h.

References polynompairdefs< DEGREE >::size_m.


The documentation for this class was generated from the following file:
Generated on Tue Nov 23 13:10:53 2010 for centerfocus by  doxygen 1.6.3