Algorithm::QuineMcCluskey::Util - provide utility functions to


Algorithm-QuineMcCluskey documentation  | view source Contained in the Algorithm-QuineMcCluskey distribution.

Index


NAME

Top

Algorithm::QuineMcCluskey::Util - provide utility functions to Algorithm::QuineMcCluskey

VERSION

Top

This document describes version 0.01 released 24 June 2006.

DESCRIPTION

Top

This module provides various utilities designed for (but not limited to) use in Algorithm::QuineMcCluskey.

FUNCTIONS

Top

uniqels

Returns unique elements of an arrayref; usable for deep structures

columns

Rotates 90 degrees a hashtable of the type used for %::primes

bin

Wrap oct() to provide easy conversion of a binary string to a number

tobit

Convert a number to an n-wide string of bits representing it

maskmatch

Returns true if a mask matches a minterm, false otherwise.

maskmatches

Returns the elements that match a mask, selected from an array

remel

Remove a value from an arrayref if it matches a mask

diffpos

Find the location of the first difference between two strings

hdist

Hamming distance

diffposes

Return pairwise the 'un-sameness' of two strings

stl

Splits a string into a list of its chars

TODO

Top

Documentation. Most of the subs are very simple, but they still could use a bit more explanation.

SEE ALSO

Top

Algorithm::QuineMcCluskey

AUTHOR

Top

Darren M. Kulp <darren@kulp.ch>

COPYRIGHT AND LICENSE

Top


Algorithm-QuineMcCluskey documentation  | view source Contained in the Algorithm-QuineMcCluskey distribution.