galfield.h

来自「终于找到了bpsk信号的调制」· C头文件 代码 · 共 33 行

H
33
字号
//
//  File = galfield.h
//

#ifndef _GALFIELD_H_
#define _GALFIELD_H_

#include "poly_pf.h"
#include "xfelem.h"

class GaloisField
{
public:

  GaloisField( int base, int order, PolyOvrPrimeField *prim_poly );
  int GetDegree( void );
  int GetBase( void );
  ExtenFieldElem GetElement(int expon);
  friend class ExtFieldElem;
  friend ExtenFieldElem operator*( const ExtenFieldElem,
                               const ExtenFieldElem);

private:

  int Base;
  int Degree;
  PolyOvrPrimeField *Prim_Poly;
  PrimeFieldElem *Reduc_Poly;
  long dummy1;
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?