Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.645.289 Times

Bit::Vector for Linux 6.9

Company: Steffen Beyer
Date Added: October 18, 2013  |  Visits: 211

Bit::Vector for Linux

Report Broken Link
Printer Friendly Version

Product Homepage
Download (16 downloads)

Bit::Vector is an efficient bit vector, set of integers and "big int" math library.<br /><br />CLASS METHODS<br /><br />Version<br /><br />$version = Bit::Vector->Version();<br /><br />Word_Bits<br />$bits = Bit::Vector->Word_Bits(); # bits in a machine word<br /><br />Long_Bits<br />$bits = Bit::Vector->Long_Bits(); # bits in an unsigned long<br /><br />new<br />$vector = Bit::Vector->new($bits); # bit vector constructor<br /><br />@veclist = Bit::Vector->new($bits,$count);<br /><br />new_Hex<br />$vector = Bit::Vector->new_Hex($bits,$string);<br /><br />new_Bin<br />$vector = Bit::Vector->new_Bin($bits,$string);<br /><br />new_Dec<br />$vector = Bit::Vector->new_Dec($bits,$string);<br /><br />new_Enum<br />$vector = Bit::Vector->new_Enum($bits,$string);<br /><br />Concat_List<br />$vector = Bit::Vector->Concat_List(@vectors);<br />OBJECT METHODS<br />new<br />$vec2 = $vec1->new($bits); # alternative call of constructor<br /><br />@veclist = $vec->new($bits,$count);<br /><br />Shadow<br />$vec2 = $vec1->Shadow(); # new vector, same size but empty<br /><br />Clone<br />$vec2 = $vec1->Clone(); # new vector, exact duplicate<br /><br />Concat<br />$vector = $vec1->Concat($vec2);<br /><br />Concat_List<br />$vector = $vec1->Concat_List($vec2,$vec3,...);<br /><br />Size<br />$bits = $vector->Size();<br /><br />Resize<br />$vector->Resize($bits);<br />$vector->Resize($vector->Size()+5);<br />$vector->Resize($vector->Size()-5);<br /><br />Copy<br />$vec2->Copy($vec1);<br /><br />Empty<br />$vector->Empty();<br /><br />Fill<br />$vector->Fill();<br /><br />Flip<br />$vector->Flip();<br /><br />Primes<br />$vector->Primes(); # Sieve of Erathostenes<br /><br />Reverse<br />$vec2->Reverse($vec1);<br /><br />Interval_Empty<br />$vector->Interval_Empty($min,$max);<br /><br />Interval_Fill<br />$vector->Interval_Fill($min,$max);<br /><br />Interval_Flip<br />$vector->Interval_Flip($min,$max);<br /><br />Interval_Reverse<br />$vector->Interval_Reverse($min,$max);<br /><br />Interval_Scan_inc<br />if (($min,$max) = $vector->Interval_Scan_inc($start))<br /><br />Interval_Scan_dec<br />if (($min,$max) = $vector->Interval_Scan_dec($start))<br /><br />Interval_Copy<br />$vec2->Interval_Copy($vec1,$offset2,$offset1,$length);<br /><br />Interval_Substitute<br />$vec2->Interval_Substitute($vec1,$off2,$len2,$off1,$len1);<br /><br />is_empty<br />if ($vector->is_empty())<br /><br />is_full<br />if ($vector->is_full())<br /><br />equal<br />if ($vec1->equal($vec2))<br /><br />Lexicompare (unsigned)<br />if ($vec1->Lexicompare($vec2) == 0)<br />if ($vec1->Lexicompare($vec2) != 0)<br />if ($vec1->Lexicompare($vec2) < 0)<br />if ($vec1->Lexicompare($vec2) Lexicompare($vec2) > 0)<br />if ($vec1->Lexicompare($vec2) >= 0)<br /><br />Compare (signed)<br />if ($vec1->Compare($vec2) == 0)<br />if ($vec1->Compare($vec2) != 0)<br />if ($vec1->Compare($vec2) < 0)<br />if ($vec1->Compare($vec2) Compare($vec2) > 0)<br />if ($vec1->Compare($vec2) >= 0)<br /><br />to_Hex<br />$string = $vector->to_Hex();<br /><br />from_Hex<br />$vector->from_Hex($string);<br /><br />to_Bin<br />$string = $vector->to_Bin();<br /><br />from_Bin<br />$vector->from_Bin($string);<br /><br />to_Dec<br />$string = $vector->to_Dec();<br /><br />from_Dec<br />$vector->from_Dec($string);<br /><br />to_Enum<br />$string = $vector->to_Enum(); # e.g. "2,3,5-7,11,13-19"<br /><br />from_Enum<br />$vector->from_Enum($string);<br /><br />Bit_Off<br />$vector->Bit_Off($index);<br /><br />Bit_On<br />$vector->Bit_On($index);<br /><br />bit_flip<br />$bit = $vector->bit_flip($index);<br /><br />bit_test<br />contains<br />$bit = $vector->bit_test($index);<br />$bit = $vector->contains($index);<br />if ($vector->bit_test($index))<br />if ($vector->contains($index))<br /><br />Bit_Copy<br />$vector->Bit_Copy($index,$bit);<br /><br />LSB (least significant bit)<br />$vector->LSB($bit);<br /><br />MSB (most significant bit)<br />$vector->MSB($bit);<br /><br />lsb (least significant bit)<br />$bit = $vector->lsb();<br /><br />msb (most significant bit)<br />$bit = $vector->msb();<br /><br />rotate_left<br />$carry = $vector->rotate_left();<br /><br />rotate_right<br />$carry = $vector->rotate_right();<br /><br />shift_left<br />$carry = $vector->shift_left($carry);<br /><br />shift_right<br />$carry = $vector->shift_right($carry);<br /><br />Move_Left<br />$vector->Move_Left($bits); # shift left "$bits" positions<br /><br />Move_Right<br />$vector->Move_Right($bits); # shift right "$bits" positions<br /><br />Insert<br />$vector->Insert($offset,$bits);<br /><br />Delete<br />$vector->Delete($offset,$bits);<br /><br />increment<br />$carry = $vector->increment();<br /><br />decrement<br />$carry = $vector->decrement();<br /><br />inc<br />$overflow = $vec2->inc($vec1);<br /><br />dec<br />$overflow = $vec2->dec($vec1);<br /><br />add<br />$carry = $vec3->add($vec1,$vec2,$carry);<br />($carry,$overflow) = $vec3->add($vec1,$vec2,$carry);<br /><br />subtract<br />$carry = $vec3->subtract($vec1,$vec2,$carry);<br />($carry,$overflow) = $vec3->subtract($vec1,$vec2,$carry);<br /><br />Neg<br />Negate<br />$vec2->Neg($vec1);<br />$vec2->Negate($vec1);<br /><br />Abs<br />Absolute<br />$vec2->Abs($vec1);<br />$vec2->Absolute($vec1);<br /><br />Sign<br />if ($vector->Sign() == 0)<br />if ($vector->Sign() != 0)<br />if ($vector->Sign() < 0)<br />if ($vector->Sign() Sign() > 0)<br />if ($vector->Sign() >= 0)<br /><br />Multiply<br />$vec3->Multiply($vec1,$vec2);<br /><br />Divide<br />$quot->Divide($vec1,$vec2,$rest);<br /><br />GCD (Greatest Common Divisor)<br />$vecgcd->GCD($veca,$vecb);<br />$vecgcd->GCD($vecx,$vecy,$veca,$vecb);<br /><br />Power<br />$vec3->Power($vec1,$vec2);<br /><br />Block_Store<br />$vector->Block_Store($buffer);<br /><br />Block_Read<br />$buffer = $vector->Block_Read();<br /><br />Word_Size<br />$size = $vector->Word_Size(); # number of words in "$vector"<br /><br />Word_Store<br />$vector->Word_Store($offset,$word);<br /><br />Word_Read<br />$word = $vector->Word_Read($offset);<br /><br />Word_List_Store<br />$vector->Word_List_Store(@words);<br /><br />Word_List_Read<br />@words = $vector->Word_List_Read();<br /><br />Word_Insert<br />$vector->Word_Insert($offset,$count);<br /><br />Word_Delete<br />$vector->Word_Delete($offset,$count);<br /><br />Chunk_Store<br />$vector->Chunk_Store($chunksize,$offset,$chunk);<br /><br />Chunk_Read<br />$chunk = $vector->Chunk_Read($chunksize,$offset);<br /><br />Chunk_List_Store<br />$vector->Chunk_List_Store($chunksize,@chunks);<br /><br />Chunk_List_Read<br />@chunks = $vector->Chunk_List_Read($chunksize);<br /><br />Index_List_Remove<br />$vector->Index_List_Remove(@indices);<br /><br />Index_List_Store<br />$vector->Index_List_Store(@indices);<br /><br />Index_List_Read<br />@indices = $vector->Index_List_Read();<br /><br />Or<br />Union<br />$vec3->Or($vec1,$vec2);<br />$set3->Union($set1,$set2);<br /><br />And<br />Intersection<br />$vec3->And($vec1,$vec2);<br />$set3->Intersection($set1,$set2);<br /><br />AndNot<br />Difference<br />$vec3->AndNot($vec1,$vec2);<br />$set3->Difference($set1,$set2);<br /><br />Xor<br />ExclusiveOr<br />$vec3->Xor($vec1,$vec2);<br />$set3->ExclusiveOr($set1,$set2);<br /><br />Not<br />Complement<br />$vec2->Not($vec1);<br />$set2->Complement($set1);<br /><br />subset<br />if ($set1->subset($set2)) # true if $set1 is subset of $set2<br /><br />Norm<br />$norm = $set->Norm();<br />$norm = $set->Norm2();<br />$norm = $set->Norm3();<br /><br />Min<br />$min = $set->Min();<br /><br />Max<br />$max = $set->Max();<br /><br />Multiplication<br />$matrix3->Multiplication($rows3,$cols3,<br />$matrix1,$rows1,$cols1,<br />$matrix2,$rows2,$cols2);<br /><br />Product<br />$matrix3->Product($rows3,$cols3,<br />$matrix1,$rows1,$cols1,<br />$matrix2,$rows2,$cols2);<br /><br />Closure<br />$matrix->Closure($rows,$cols);<br /><br />Transpose<br />$matrix2->Transpose($rows2,$cols2,$matrix1,$rows1,$cols1);

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Bitbit Bitvector For Linux 6 9 Bitvectorgtlsbbitmsb Constructorveclist Minmax Quotbitsquot Shift Significant Tsincrementcarry Vec Gtincvec Decoverflow Vector
Users rating: 0/10

License: Freeware Size: 133.12 KB
More Reviews or Write Review

Utilities  -  OpenSSI Clusters for Linux 1.9.2
OpenSSI Clusters for Linux project is a comprehensive clustering solution offering a full, highly available SSI environment for Linux. Goals for OpenSSI Clusters include availability, scalability and manageability, built from standard servers....
66.7 MB  
Network & Internet  -  IEs for Linux 2.0.5/2.5 Beta 6
IEs for Linux project is a simple Bash Script program that installs Internet Explorer 6, 5.5 and 5 on Linux using Wine. The whole process is automatic and very easy. What is the magic? The magic of IEs4Linux is to use full browsers downloads...
337.92 KB  
Utilities  -  USB Server for Linux 1.7
USB Server for Linux. This new unique software product allows to share any USB device to use them over local network or Internet. To share USB device plugged into computer with Linux OS you just need to install USB Server product into your system....
93.75 KB  
Utilities  -  zr364xx for Linux 0.70
zr364xx for Linux attempts to bring support under Linux for the Aiptek PocketDV 3300 in webcam mode (also known as "Maxell Maxcam PRO DV3"). All the code is still under developpement... If you just want to get on your PC the pictures and...
15.36 KB  
Utilities  -  Crash Recovery Kit for Linux
Crash Recovery for Linux sounds a bit superfluous. Linux is regarded as one of todays most stable Operating Systems. In the case of some hardware failure like a broken disk it can however be handy. Of course your machine doesnt have to have...
38.1 MB  
Utilities  -  Berkley Snoop for Linux 0.3 RC4
Berkley Snoop for Linux is a module which adds support for the Snoop protocol, a TCP-aware link layer protocol designed that can improve the performance of TCP over networks of wired and single-hop wireless links. While TCP adapts well to...
15.36 KB  
Networking Tools  -  MIPL Mobile IPv6 for Linux 2.0.1
MIPL Mobile IPv6 for Linux is an implementation of Mobility support in IPv6 Internet Draft. It was originally developed in the HUT Software Project course by Sami Kivisaari, Niklas Kämpe, Juha Mynttinen, Toni Nykänen, Henrik Petander and Antti...
286.72 KB  
Remote Computing Tools  -  USB Redirector for Linux 2.8.2
USB Redirector for Linux. This new unique software product allows to share any USB device to use them over local network or Internet. To share USB device plugged into computer with Linux OS you just need to install USB Redirector into your system....
475 KB  
Utilities  -  Keepalived for Linux 1.1.13
Keepalived for Linux projects goal is to add a strong & robust keepalive facility to the Linux Virtual Server project. This project is written in C with multilayer TCP/IP stack checks. Keepalived implements a framework based on three family checks...
215.04 KB  
Programming  -  Disassembler for linux 0.3.3
Disassembler for linux is a software that will try to provide a gui driven tool to disassemble executables. Written in C++, and will disassemble binaries from a number of OSses..
368.64 KB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Linux Software  -  GTK+ 2.5
GTK+, which stands for the GIMP Toolkit, is a library for creating graphical user interfaces for the X Window System. It is designed to be small, efficient, and flexible. GTK+ is written in C with a very object-oriented approach. Language bindings...
60 MB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB