Bit::Vector::Array

Perl extension for manipulating bit vectors as an array
Download

Bit::Vector::Array Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Greg London
  • Publisher web site:
  • http://search.cpan.org/~gslondon/

Bit::Vector::Array Tags


Bit::Vector::Array Description

Perl extension for manipulating bit vectors as an array Bit::Vector::Array is a Perl module used to store an integer, but access bits of that integer as a bit vector. The integer is stored by assigning to the scalar value of an array. Individual bits are accessed by indexing into the array. The bit indexes start at 1 and increase from there.To set the least significant bit in @arr, use this: $arr=1;SYNOPSIS use Bit::Vector::Array; bva(my @my_array); @my_array=8; # 1000 binary. index 4 .. 1 $my_array=1; # 1010 binary. bit index 2 print "vector is ".@my_array." "; # vector is 10 Requirements: · Perl


Bit::Vector::Array Related Software