Main > Programming > Libraries >

Algorithm::Hamming::Perl 0.05

Algorithm::Hamming::Perl 0.05

Sponsored Links

Algorithm::Hamming::Perl 0.05 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.007 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 902
Date added: 2007-05-16
Publisher: Brendan Gregg

Algorithm::Hamming::Perl 0.05 description

Algorithm::Hamming::Perl is a Perl implementation of ECC Hamming encoding, for single bit auto error correction.

SYNOPSIS

use Algorithm::Hamming::Perl qw(hamming unhamming);
$code = hamming($data); # Encode $data
$data = unhamming($code); # Decode and fix errors ($data,$errors) = unhamming($code); # + return error count

This is an Error Correction Code module, implementing Hamming encoding (8 bits data, 4 bits Hamming - ie increases data size by 50%). Data can be encoded so that single bit errors within a byte are auto-corrected.

This may be useful as a precaution before storing or sending data where single bit errors are expected.

Hamming encoding was invented by Richard Hamming, Bell Labs, during 1948.

EXPORT SUBROUTINES

hamming (SCALAR)

Returns the Hamming code from the provided input data.

unhamming (SCALAR)

Returns the original data from the provided Hamming code. Single bit errors are auto corrected.

unhamming_err (SCALAR)

Returns the original data from the provided Hamming code, and a number counting the number of bytes that were corrected. Single bit errors are auto corrected.

OTHER SUBROUTINES

Algorithm::Hamming::Perl::hamming_faster ()

This is an optional subroutine that will speed Hamming encoding if it is run once at the start of the program. It does this by using a larger (hash) cache of preprocessed results. The disadvantage is that it uses more memory, and can add several seconds to invocation time. Only use this if you are encoding more than 1 Mb of data.

Algorithm::Hamming::Perl 0.05 Screenshot

Advertisements

Algorithm::Hamming::Perl 0.05 Keywords

Bookmark Algorithm::Hamming::Perl 0.05

Hyperlink code:
Link for forum:

Algorithm::Hamming::Perl 0.05 Copyright

WareSeeker periodically updates pricing and software information of Algorithm::Hamming::Perl 0.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Algorithm::Hamming::Perl 0.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Algorithm::Merge is a Perl module package that provides three-way merge and diff. Free Download
Algorithm::BinPack is a Perl module that can efficiently pack items into bins. Free Download
Algorithm::Permute is a Perl module with handy and fast permutation with object oriented interface. Free Download
Algorithm::Huffman is a Perl extension that implements the Huffman algorithm. Free Download
Algorithm::Munkres is a Perl extension for Munkres solution to classical Assignment problem for square and rectangular matrices Free Download
Algorithm::SixDegrees is a Perl module that can find a path through linked elements in a set. Free Download
Algorithm::SkipList is a Perl implementation of skip lists. Free Download
Algorithm::Combinatorics Perl module is an efficient generator of combinatorial sequences. Free Download