Numerical Methods at work

Disclaimer:
Permission to use, copy, and distribute this software, and It’s documentation for any non-commercial purpose is hereby granted without fee, provided: THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL Henrik Vestermark, BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Multiplication Methods Explained

Advanced multiplication methods explained. The following methods are supported:

  • Karatsuba (2-way splitting)
  • Toom-cook3 (3-way splitting)
  • Schönhage-Strassen with Linear convolution
  • Fast Fourier Multiplication
  • School Book multiplication

See the help section for more details.

Multiplication of large numbers
Multiplication Methods ver. 2.1

  • Output
  • Help

Usage:
Multiply two numbers together. Write the two numbers in the A and B fields. It can be any integer or floating point number with exponential notation.
The result is displayed in the A*B fields and the output list the details of the multiplication using one of the methods.
The default method is Karatsuba, but others can be selected. Currently, I support

  • Karatsuba (2-way splitting)
  • Toom Cook 3 (3-way splitting)
  • Schönhagen-Strassen with linear convolution
  • Fast Fourier
  • School book

The Output result can be Printed or Emailed. The button Clear clears the output field and the bottom Multiply performs the calculation.
It is beyond the scope of this calculator to describe the method in detail.

Reference: For further reference check out the Wikipedia pages on:
Karatsuba: Karatsuba Algorithm
Toom-Cook 3: Toom-Cook Algorithm
Schönhage-Strassen: Schönhage-Strassen Algorithm
Fast Fourier: Discrete Fourier Transformation
or you can try out
Robert Elders blog page at Robert Elder´s blog page also displays the interim steps in
the multiplication of two arbitrary sizes decimal numbers and finally the old fashion school book multiplication you learned in elementary school.
School Book


Rate this page

Click on the stars below to rate this page

Low
High


Corrections:

27-Jun-2022Vs 2.1Fixed an incompatibility with the new Bigfloat library
5-Mar-2021Vs 2Work with BigFloat.js version 2
28-Oct-2019Vs 1Initial release. Multiplying two arbitrary precision numbers