hammenc.3
来自「speech signal process tools」· 3 代码 · 共 41 行
3
41 行
.\" Copyright (c) 1987-1990 Entropic Speech, Inc..\" Copyright (c) 1997 Entropic Research Laboratory, Inc. All rights reserved..\" @(#)hammenc.3 1.5 18 Apr 1997 ESI/ERL.ds ]W (c) 1997 Entropic Research Laboratory, Inc..TH HAMM_ENC 3\-ESPSsp 18 Apr 1997.SH NAMEhamm_enc \- code an integer between [0,15] with an (8,4)Hamming code..SH SYNOPSIS.ft Bint hamm_enc (data, code).brint data;.brshort *code;.PP.SH DESCRIPTION.PP.I hamm_encencodes an integer ( .I data)between [0,15] with a (8,4) Hamming code and returns it in.I code.This allows single error detection and double error detection..SH DIAGNOSTICS.PPhamm_enc returns -1 if the input .I datais less than 0 or greater than 15, and it returns 0 otherwise..SH SEE ALSO.na.IR hamm_dec (3\-ESPSsp).ad.SH REFERENCES[1] R. E. Hamming, Coding and Information Theory, Prentice-Hall, Inc., Englewood Cliffs, New Jersey, 1980.SH AUTHORCode by D. Burton, manual page by D. Burton
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?