cyclo_partit.h

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

H
38
字号
//
//  File = cyclo_partit.h
//

#ifndef _CYCLO_PARTIT_H_
#define _CYCLO_PARTIT_H_
//#include "pfelem.h"
//#include "cycpoly.h"
//#include "poly_pf.h"
//#include "berlefac.h"
//#include "deque"
using namespace std;
typedef struct{
   int *start;
   int size;
} CyclotomicCoset;

class CyclotomicPartition
{
public:

  CyclotomicPartition( int prime_field_base, int degree );
  int GetNumCosets(void);
  CyclotomicCoset *GetSpecificCoset(int coset_index);
  int GetCosetIndex(int element);
  CyclotomicCoset *Specific_Coset;

private:
  int* Coset_Start;
  int* Coset_Size;
  int* Element_Vector;
  int Num_Cosets;
  int Modulus;
};


#endif

⌨️ 快捷键说明

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