Algorithm::QuineMcCluskey::Util - provide utility functions to Algorithm::QuineMcCluskey
This document describes version 0.01 released 24 June 2006.
This module provides various utilities designed for (but not limited to) use in Algorithm::QuineMcCluskey.
Returns unique elements of an arrayref; usable for deep structures
Rotates 90 degrees a hashtable of the type used for %::primes
Wrap oct() to provide easy conversion of a binary string to a number
Convert a number to an n-wide string of bits representing it
Returns true if a mask matches a minterm, false otherwise.
Returns the elements that match a mask, selected from an array
Remove a value from an arrayref if it matches a mask
Find the location of the first difference between two strings
Hamming distance
Return pairwise the 'un-sameness' of two strings
Splits a string into a list of its chars
Documentation. Most of the subs are very simple, but they still could use a bit more explanation.
Algorithm::QuineMcCluskey
Darren M. Kulp <darren@kulp.ch>
<darren@kulp.ch>
Copyright (C) 2006 by Darren Kulp
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.
To install Algorithm::QuineMcCluskey, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::QuineMcCluskey
CPAN shell
perl -MCPAN -e shell install Algorithm::QuineMcCluskey
For more information on module installation, please visit the detailed CPAN module installation guide.