Logic::TruthTable::Convert81 - provide Base81 encoding to Logic::TruthTable
This module provides Base81 encoding of the truth table's columns when saving the table in JSON format.
Take the terms of a truth table's column and pack it into a Base81 string.
$col = $tt->fncolumn("f1"); $b81str = terms_to_base81($tt->width, $col->has_minterms, $col->has_minterms? $col->minterms: $col->maxterms, $col->dontcares);
Retrieve arrayrefs of the minterms, maxterms, and don't-cares of a truth table's column from a Base81 string.
(@min_max_dc) = terms_from_base81($width, $b81str);
Convert::Base81
Logic::TruthTable::Util
John M. Gamble <jgamble@cpan.org>
<jgamble@cpan.org>
To install Logic::TruthTable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Logic::TruthTable
CPAN shell
perl -MCPAN -e shell install Logic::TruthTable
For more information on module installation, please visit the detailed CPAN module installation guide.