Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > e1c4a3050d44123471c4053e4926e965 > files > 162

gfan-debug-0.4plus-2mdv2011.0.i586.rpm

#ifndef FIELD_ZMODPZ_H_INCLUDED
#define FIELD_ZMODPZ_H_INCLUDED

#include "field.h"

class FieldZModPZImplementation : public FieldImplementation
{
  FieldElementImplementation *zHomomorphismImplementation(int n);
  FieldElement zHomomorphism(int n);

  std::string toString()const;
  const char *name();
  const int p;
 public:
  FieldZModPZImplementation(int p_);
  int getP();
};

class FieldZModPZ : public Field
{
 public:
  FieldZModPZ(int p_);
  int getP();
};

Field *theZMod2ZField();



#endif