⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gold.h

📁 在linux系统下开发研究移动通信的工具型代码
💻 H
字号:
#ifndef _GOLD_H#define _GOLD_H/* * $Log: gold.h,v $ * Revision 1.1  2000/05/03 14:30:04  bjc97r * Initial revision * */#include "mseq.h"typedef struct {  Mseq *mseq0; /* 1st m-sequence generator */  Mseq *mseq1; /* 2nd m-sequence generator */} Gold;/* * It creates a Gold code generator with the two preferred m-sequences * with the given seeds. The Gold code generator is returned. */Gold * gold_create( unsigned deg, unsigned long p0, unsigned long p1,		    unsigned long s0, unsigned long s1 );/* gold_free() deallocates the memory space for the Gold sequence generator. */void gold_free( Gold *gold );/* gold() gives the next Gold sequence. The sequence is unipolar, ie 1 or 0. */char gold( Gold *gold );#endif  /* _GOLD_H */

⌨️ 快捷键说明

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