Most viewed recipes tagged "multiply" Code RecipesKaratsuba algorithm (C++) 2009-07-02T14:23:17-07:00Guillermo López <p style="color: grey"> C++ recipe 576827 by <a href="/recipes/users/4170956/">Guillermo López</a> (<a href="/recipes/tags/integers/">integers</a>, <a href="/recipes/tags/karatsuba/">karatsuba</a>, <a href="/recipes/tags/multiply/">multiply</a>). </p> <p>Used to multiply big integers (visible difference with &gt;400bits).</p> Set product (Python) 2010-04-12T19:06:22-07:00Paul G <p style="color: grey"> Python recipe 577190 by <a href="/recipes/users/4173653/">Paul G</a> (<a href="/recipes/tags/binary/">binary</a>, <a href="/recipes/tags/multiply/">multiply</a>, <a href="/recipes/tags/product/">product</a>, <a href="/recipes/tags/set/">set</a>). </p> <p>This recipe provides a subclass of set which implements __mul__ and __pow__ to support the computation of set products. When multiplying two sets together, a new set is produced with elements which are the inter-set pairs.</p>