农历2月12日是什么星座| 多多益善的意思是什么| 仙人掌有什么功效| 博士的学位是什么| 吃什么可以壮阳| 爱情的本质是什么| 咳嗽头晕是什么原因| gc是什么意思| 翻过山越过海是什么歌| 守字五行属什么| 导管是什么意思| 撅眼是什么原因造成的| 什么叫比例| o是什么牌子| 脚麻木是什么原因引起的| 装清高是什么意思| 25分贝相当于什么声音| 12月5号是什么星座| 吃什么受孕率又快又高| 肺部条索灶是什么意思| 痱子用什么药| 七月十三号是什么星座| 什么病会引起恶心| 15度穿什么衣服合适| 八十岁是什么寿| 谷读什么| 血痣是什么原因引起的| 扁桃体肥大是什么原因造成的| 犹太人属于什么人种| 1月23日是什么星座| 女性肾虚是什么原因导致的| lin是什么意思| 氢什么意思| 肝肾亏虚吃什么中成药| 解酒的酶是什么酶| 鼻子冒热气是什么原因| 练字用什么笔好| 12月12号什么星座| 什么首什么胸| 二氧化硅是什么东西| 女性绝经有什么征兆| 什么样的人容易低血糖| ccp是什么意思| 拜你所赐什么意思| 增大摩擦力的方法有什么| 黄花胶是什么鱼的胶| 夏天脸上皮肤痒是什么原因| 为什么医生不推荐特立帕肽呢| 子宫内膜2mm说明什么| 打一个喷嚏代表什么| 传教士是什么姿势| 透析是什么原理| 形同陌路什么意思| bv中间型是什么意思| 总是想吐是什么原因| 檀是什么意思| dcdc是什么意思| 孕妇羊水多是什么原因造成的| 疥疮是什么原因造成的| 不劳而获是什么意思| 屁眼火辣辣的疼是什么原因| 2020年是什么命| 7月28日是什么星座| 公粮是什么意思| 不外乎是什么意思| 成人用品是什么| 李子为什么不能多吃| 股票洗盘是什么意思| 打黄体酮针有什么副作用| 甲状腺结节3类什么意思| 大头鱼是什么鱼| 6月12是什么星座| 重阳节是干什么的| 承受是什么意思| 病毒性肺炎吃什么药| t细胞是什么| 补钙什么时间段最好| 金银花搭配什么泡水喝好| 植树节是什么季节| 铁为什么会生锈| 鱼喜欢吃什么食物| 性生活出血是什么原因| 什么叫机械手表| lof什么意思| 记吃不记打的下一句是什么| 纳豆激酶有什么作用| 喝椰子水有什么好处| 澳门用什么币种| 红豆吃多了有什么坏处| 4月份是什么星座| 世袭制是什么意思| 不完全性右束支阻滞是什么意思| 肠胃不好吃什么水果好| 干眼症吃什么食物好| 阴平阳秘是什么意思| 皮肤偏黄适合穿什么颜色的衣服| 中国第一艘航空母舰叫什么| 取其轻前一句是什么| 梦见打官司预示着什么| 欣喜若狂的近义词是什么| 意大利用什么货币| 肺活量5000什么水平| 北是什么生肖| 如夫人是什么意思| 鼻子流清水是什么原因| 什么含胶原蛋白最多| 什么是幽门螺杆菌感染| 为什么突然就细菌感染了| 黄鼠狼是什么科| 跑步大腿痒是什么原因| 立春有什么讲究| 今年37岁属什么生肖| sakose是什么牌子| 维生素b不能和什么一起吃| 6月13号是什么星座| 嘛是什么意思| 长脸适合什么发型女| 墙内开花墙外香是什么意思| 大泽土是什么生肖| 世界7大奇迹是什么| 张国立的老婆叫什么名字| 布洛芬是什么药| 甲醛是什么味道| 吃什么容易排大便| 胃寒可以吃什么水果| 鬼画符是什么意思| 黑白双煞是什么意思| 抗生素药对人体有什么危害| 排卵期出血是什么原因引起的| 旺字五行属什么| 胃炎吃什么消炎药| 说话不清楚是什么原因导致的| 什么东西越晒越湿| 食神生财是什么意思| 箭在弦上是什么意思| 什么是性侵| acer是什么牌子| 虢是什么意思| 牒是什么意思| 6月14日什么星座| 什么是脑梗死| 隐翅虫长什么样子| 贫血吃什么水果补血最快| 男人梦见血是什么预兆| 西安属于什么省| 甲状腺是什么意思| 耳朵烧是什么原因| 鼻炎吃什么食物好得快| 声带白斑是什么病严重吗| 黑毛茶是什么茶| 什么虫子咬了像针扎一样疼| 自律是什么意思| 被褥是什么意思| 黄芪什么人不能喝| 刀纸是什么| 泌尿系统感染吃什么药| 烧伤的疤痕怎么去除用什么法最好| 河粉是什么材料做的| 人流后吃什么水果好| 子宫肌瘤是什么病| 乙肝病毒表面抗原阳性是什么意思| 骨骼清奇什么意思| 豫字五行属什么| 什么是笑气| 银行卡年费是什么意思| 胰岛素抵抗有什么症状| 喝酒对胃有什么伤害| 女人安全期是什么时候| 孕妇吃海参对胎儿有什么好处| 为什么会焦虑| 社保卡是什么样的图片| 5月13日是什么星座| 黄姜长什么样图片| 白蜜是什么| 腰椎间盘膨出是什么意思| 四个一是什么| sku图是什么意思| 答辩是什么| 迪奥口红属于什么档次| 指数是什么| 孕妇吃海参对胎儿有什么好处| 血红蛋白什么意思| 远香近臭是什么意思| 6月5日是世界什么日| 吃山竹有什么好处和坏处| 江西景德镇有什么好玩的地方| 吃什么食物可以去湿气| 银梳子梳头有什么好处和坏处| 兆字五行属什么| 耳后长痣代表什么意思| 人为什么有两个鼻孔| 钾低是什么原因引起的| gpt什么意思| 阴阳数字是什么数| 子宫破裂有什么危险| 仰面朝天是什么生肖| 半什么三什么| 什么叫做流年| 凉拌菜用什么醋好| 什么人容易得淋巴癌| 睡醒后口苦是什么原因| 海龟是什么动物| 今年50岁属什么| 三氯蔗糖是什么| 杜甫世称什么| 七月初七是什么生肖| 什么是肾癌| 世界上最毒的蜘蛛叫什么| 世界上最难写的字是什么| 生理期是什么意思| 考试前紧张吃什么药最好能缓解| hcg是什么| 中线是什么| 一键挪车什么意思| 三点水一个兆读什么| 1月份是什么星座的人| 高血压高血脂不能吃什么| 狗男和什么属相最配| 小老弟是什么意思| 氯超标是因为什么原因| 呼吸胸口疼是什么原因| 讨扰是什么意思| 女人梦见蜈蚣预兆什么| gccg是什么牌子| 金玉其外败絮其中是什么意思| 枸杞和红枣泡水喝有什么好处| 海底轮是什么意思| 敏感肌肤用什么护肤品| gpi是什么意思| 心思重是什么意思| 问加一笔是什么字| 刷酸是什么| 脾气虚吃什么药| 糖宝是什么意思| 管医院的是什么部门| 1979年什么命| 12月13号是什么星座| 引渡是什么意思| 佝偻病是什么样子图片| 肌肉萎缩看什么科| 心率过高是什么原因| csw是什么意思| 脸一边大一边小是什么原因| 圣女果是什么水果| 模特是什么意思| 肝损伤吃什么药| 心气不足吃什么中成药| 手上长水泡是什么原因| 阿拉蕾什么意思| 氨气对人体有什么危害| 眼镜发明之前眼镜蛇叫什么| 蝗虫的呼吸器官是什么| 柏树长什么样子| 2月20是什么星座| 腰间盘突出吃什么药| 口了又一是什么字| 豁出去了什么意思| 肾结石什么不可以吃| 孕晚期缺铁对胎儿有什么影响| 女性肛门瘙痒用什么药| 1987年属什么今年多大| 1114是什么星座| 肌红蛋白是什么意思| 电子烟有什么危害| 百度Jump to content

From Wikipedia, the free encyclopedia
Berlekamp–Massey algorithm
百度 日本防卫省23日发布消息称,包括4架轰-6、1架图-154电子侦察机以及1架运-8电子战机等机型在内的中国空军机群,当天从东海出发,飞越宫古海峡向太平洋方向飞行,日本自卫队战机随后紧急升空跟踪。

The Berlekamp–Massey algorithm is an algorithm that will find the shortest linear-feedback shift register (LFSR) for a given binary output sequence. The algorithm will also find the minimal polynomial of a linearly recurrent sequence in an arbitrary field. The field requirement means that the Berlekamp–Massey algorithm requires all non-zero elements to have a multiplicative inverse.[1] Reeds and Sloane offer an extension to handle a ring.[2]

Elwyn Berlekamp invented an algorithm for decoding Bose–Chaudhuri–Hocquenghem (BCH) codes.[3][4] James Massey recognized its application to linear feedback shift registers and simplified the algorithm.[5][6] Massey termed the algorithm the LFSR Synthesis Algorithm (Berlekamp Iterative Algorithm),[7] but it is now known as the Berlekamp–Massey algorithm.

Description of algorithm

[edit]

The Berlekamp–Massey algorithm is an alternative to the Reed–Solomon Peterson decoder for solving the set of linear equations. It can be summarized as finding the coefficients Λj of a polynomial Λ(x) so that for all positions i in an input stream S:

In the code examples below, C(x) is a potential instance of Λ(x). The error locator polynomial C(x) for L errors is defined as:

or reversed:

The goal of the algorithm is to determine the minimal degree L and C(x) which results in all syndromes

being equal to 0:

Algorithm: C(x) is initialized to 1, L is the current number of assumed errors, and initialized to zero. N is the total number of syndromes. n is used as the main iterator and to index the syndromes from 0 to N?1. B(x) is a copy of the last C(x) since L was updated and initialized to 1. b is a copy of the last discrepancy d (explained below) since L was updated and initialized to 1. m is the number of iterations since L, B(x), and b were updated and initialized to 1.

Each iteration of the algorithm calculates a discrepancy d. At iteration k this would be:

If d is zero, the algorithm assumes that C(x) and L are correct for the moment, increments m, and continues.

If d is not zero, the algorithm adjusts C(x) so that a recalculation of d would be zero:

The xm term shifts B(x) so it follows the syndromes corresponding to b. If the previous update of L occurred on iteration j, then m = k ? j, and a recalculated discrepancy would be:

This would change a recalculated discrepancy to:

The algorithm also needs to increase L (number of errors) as needed. If L equals the actual number of errors, then during the iteration process, the discrepancies will become zero before n becomes greater than or equal to 2L. Otherwise L is updated and the algorithm will update B(x), b, increase L, and reset m = 1. The formula L = (n + 1 ? L) limits L to the number of available syndromes used to calculate discrepancies, and also handles the case where L increases by more than 1.

Pseudocode

[edit]

The algorithm from Massey (1969, p. 124) for an arbitrary field:

   polynomial(field K) s(x) = ... /* coeffs are sj; output sequence as N-1 degree polynomial) */
   /* connection polynomial */
   polynomial(field K) C(x) = 1;  /* coeffs are cj */
   polynomial(field K) B(x) = 1;
   int L = 0;
   int m = 1;
   field K b = 1;
   int n;
   /* steps 2. and 6. */
   for (n = 0; n < N; n++) {
       /* step 2. calculate discrepancy */
       field K d = sn +  L
i=1
ci sn - i
if (d == 0) { /* step 3. discrepancy is zero; annihilation continues */ m = m + 1; } else if (2 * L <= n) { /* step 5. */ /* temporary copy of C(x) */ polynomial(field K) T(x) = C(x); C(x) = C(x) - d b?1 xm B(x); L = n + 1 - L; B(x) = T(x); b = d; m = 1; } else { /* step 4. */ C(x) = C(x) - d b?1 xm B(x); m = m + 1; } } return L;

In the case of binary GF(2) BCH code, the discrepancy d will be zero on all odd steps, so a check can be added to avoid calculating it.

    /* ... */
    for (n = 0; n < N; n++) {
        /* if odd step number, discrepancy == 0, no need to calculate it */
        if ((n&1) != 0) {
            m = m + 1;
            continue;
        }
    /* ... */

See also

[edit]

References

[edit]
  1. ^ Reeds & Sloane 1985, p. 2
  2. ^ Reeds, J. A.; Sloane, N. J. A. (1985), "Shift-Register Synthesis (Modulo n)" (PDF), SIAM Journal on Computing, 14 (3): 505–513, CiteSeerX 10.1.1.48.4652, doi:10.1137/0214038
  3. ^ Berlekamp, Elwyn R. (1967), Nonbinary BCH decoding, International Symposium on Information Theory, San Remo, Italy{{citation}}: CS1 maint: location missing publisher (link)
  4. ^ Berlekamp, Elwyn R. (1984) [1968], Algebraic Coding Theory (Revised ed.), Laguna Hills, CA: Aegean Park Press, ISBN 978-0-89412-063-3. Previous publisher McGraw-Hill, New York, NY.
  5. ^ Massey, J. L. (January 1969), "Shift-register synthesis and BCH decoding" (PDF), IEEE Transactions on Information Theory, IT-15 (1): 122–127, doi:10.1109/TIT.1969.1054260, S2CID 9003708
  6. ^ Ben Atti, Nadia; Diaz-Toca, Gema M.; Lombardi, Henri (April 2006), "The Berlekamp–Massey Algorithm revisited", Applicable Algebra in Engineering, Communication and Computing, 17 (1): 75–82, arXiv:2211.11721, CiteSeerX 10.1.1.96.2743, doi:10.1007/s00200-005-0190-z, S2CID 14944277
  7. ^ Massey 1969, p. 124
[edit]
中性粒细胞计数偏高是什么意思 713是什么星座 园五行属什么 bpo是什么意思 咳嗽去医院挂什么科
中叶是什么意思 颈椎病吃什么药效果好 膀胱炎吃什么药好得快 喝荷叶茶有什么好处和坏处 做飞机需要注意什么
什么叫空调病 日后好相见的前一句是什么 明是什么生肖 是什么原因导致肥胖 敞开心扉是什么意思
就让我爱你把你捧在手心里是什么歌 水手是干什么的 快乐源泉是什么意思 喝酸梅汤有什么好处 蜱虫是什么样子的
男人吃鸽子有什么好处hcv8jop6ns0r.cn 气短心悸是什么意思hcv9jop0ns7r.cn 银黑了用什么可以洗白hcv9jop6ns8r.cn 基础医学是什么hcv8jop6ns0r.cn 运钞车是什么车hcv8jop4ns3r.cn
尿频是什么原因bfb118.com scofield是什么品牌hcv7jop9ns7r.cn 三严三实是什么hcv9jop6ns8r.cn 一鸣惊人指什么动物bjhyzcsm.com 肿瘤吃什么中药能消除hcv8jop7ns8r.cn
嫁给香港人意味着什么hcv9jop3ns4r.cn 28属什么的生肖mmeoe.com 什么水果蛋白质含量高bysq.com 84消毒液不能和什么一起用hcv9jop2ns7r.cn 林子祥属什么生肖hcv7jop7ns3r.cn
故友是什么意思hcv7jop9ns5r.cn 精液发黄是什么原因引起的hcv9jop3ns2r.cn 纯碱是什么hcv9jop2ns9r.cn 无创什么时候做hcv9jop4ns0r.cn ctc是什么hcv8jop3ns6r.cn
百度