| |
| | Bit::Vector - phpMan (Site not responding. Last check: 2007-10-11) |
 | | In method ""Multiply()"", all three bit vector arguments must in principle obey the rule of matching sizes, but the bit vector in which the result of the multiplication is to be stored may be larger than the two bit vector arguments containing the factors for the multiplication. |
 | | I.e., the least significant bit of "$vec1" becomes the most significant bit of "$vec2", whereas the most significant bit of "$vec1" becomes the least significant bit of "$vec2", and so forth for all bits in between. |
 | | The given bit vector is thereby filled in ascending order: The first chunk from the list (i.e., "$chunks[0]") fills the "$chunksize" least significant bits, the next chunk from the list ("$chunks[1]") fills the bits number "$chunksize" to number ""2*$chunksize-1"", the third chunk ("$chunks[2]") fills the bits number ""2*$chunksize"", to number ""3*$chunksize-1"", and so on. |
| phpunixman.sourceforge.net /index.php/man/Bit::Vector (12049 words) |
|