crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下: (1) 设要发送的数据对应的多项式为P(x)。 (2) 发送方和接收方约定一个生成多项式G(x),设该生成多项式 的最高次幂为r。 (3) 在数据块的末尾添加r个0,则其相对应的多项式为M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),获得商Q(x)和余式R(x),则 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2运算,T(x)所对应的数据是在原数 据块的末尾加上余式所对应的数据得到的。 (6) 发送T(x)所对应的数据。 (7) 设接收端接收到的数据对应的多项式为T’(x),将T’(x)除以G(x) ,若余式为0,则认为没有错误,否则认为有错
上传时间: 2014-01-16
上传用户:hphh
From the point of view of quality management, it is an important issue to reduce the transmission time in the network. The quickest path problem is to 6ndthe path in the network to senda given amount of data from the source to the sink such that the transmission time is minimized.
标签: transmission management the important
上传时间: 2013-12-19
上传用户:nairui21
THIS book covers the Java™ Native Interface (JNI). It will be useful to you if you are interested in any of the following: • integrating a Java application with legacy code written in languages such as C or C++ • incorporating a Java virtual machine implementation into an existing application written in languages such as C or C++ • implementing a Java virtual machine • understanding the technical issues in language interoperability, in particular how to handle features such as garbage collection and multithreading
标签: Interface you interes Native
上传时间: 2013-12-12
上传用户:ljmwh2000
Advanced_modelling_in_finance_using_Excel_and_VBA(pdf) The book adopts a step-by-step approach to understanding the more sophisticated aspects of Excel macros and VBA programming, showing how these programming techniques can be used to model and manipulate financial data, as applied to equities, bonds and options. The book is essential for financial practitioners who need to develop their financial modelling skill sets as there is an increase in the need to analyse and develop ever more complex what if scenarios.
标签: Advanced_modelling_in_finance_usi ng_Excel_and_VBA step-by-step approach
上传时间: 2013-12-14
上传用户:txfyddz
This manual describes how to run the Matlab® Artificial Immune Systems tutorial presentation developed by Leandro de Castro and Fernando Von Zuben. The program files can be downloaded from the following FTP address: ftp://ftp.dca.fee.unicamp.br/pub/docs/vonzuben/lnunes/demo.zip The tour is self-guided and can be performed in any order. To run the presentation, first uncompress the zipped archive and store it in an appropriate directory. Run the Matlab® , enter the selected directory, and type “tutorial” in the prompt.
标签: presentation Artificial describes tutorial
上传时间: 2014-01-24
上传用户:qilin
用游标的方法实现对称差的计算,即 (A-B)+(B-A)
上传时间: 2016-05-23
上传用户:远远ssad
This book is a complete reference to the C programming language and the C runtime library. As a Nutshell book, its purpose is to serve as a convenient, reliable companion for C programmers in their day-to-day work. It describes all the elements of the language and illustrates their use with numerous examples.
标签: programming reference the complete
上传时间: 2013-12-11
上传用户:天诚24
这是个反向工程delphi的程序的全部源代码.能分析几乎所有的结构 Revendepro is a program to reverse engineer Delphi program. Revendepro finds almost all structures (classes, types, procedures, etc) in the program, and generates the pascal representation, procedures will be written in assembler. Due to some limitation in assembler the generated output can not be recompiled.
标签: program Revendepro engineer reverse
上传时间: 2016-07-21
上传用户:songrui
词法分析器 对输入一个函数,并对其分析main() { int a,b a = 10 b = a + 20 }
上传时间: 2013-12-20
上传用户:hfmm633
基因算法,用VC++或MATLAB,java等工具设计一程序计算任一个随机产生的DNA基因表达式的有效长度和值 设随机产生的基因表达式为: + Q - / b * b a Q b a a b a a b b a a a b
上传时间: 2014-01-09
上传用户:aa54