📄 lgold.h
字号:
#ifndef _GOLDL_H#define _GOLDL_H/* * $Log: lgold.h,v $ * Revision 1.1 2000/05/03 14:30:04 bjc97r * Initial revision * */#include "lmseq.h"#include "u2long.h"typedef struct { LMseq *mseq0; /* 1st m-sequence generator */ LMseq *mseq1; /* 2nd m-sequence generator */} LGold;/* * It creates a Gold code generator with the two preferred m-sequences * with the given seeds. The Gold code generator is returned. */LGold * lgold_create( unsigned deg, char *p0, char *p1, u2long s0, u2long s1);/* lgold_free() deallocates the memory space for the Gold sequence generator.*/void lgold_free( LGold *gold );/* * lgold() gives the next long Gold sequence. * The sequence is unipolar, ie 1 or 0. */char lgold( LGold *gold );#endif /* _GOLDL_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -