Toom-Cook algorithm
Toom-Cook, also called Toom-3, is a Technique of multiplication used to multiply two great numbers. These great numbers are cut out moreover small numbers on which one will carry out calculations.
To multiply two numbers amounts multiplying two Polynôme S
\begin{bmatrix} x^2 & x^1 & x^0 \end{bmatrix}
- \begin{bmatrix}
\begin{bmatrix} x^2 & x^1 & x^0 \end{bmatrix}
- \begin{bmatrix}
With (X) *B (X)
\begin{bmatrix} x^4 & x^3 & x^2 & x^1 & x^0 \end{bmatrix}
- \begin{bmatrix}
\begin{bmatrix} 1 & 0 & 0 & 0 & 0 \ \ 16 & 8 & 4 & 2 & 1 \ \ 1 & -1 & 1 & -1 & 1 \ \ 1 & 1 & 1 & 1 & 1 \ \ 0 & 0 & 0 & 0 & 1 \end{bmatrix}
- \begin{bmatrix}
\begin{bmatrix} 1 & 0 & 0 & 0 & 0 \ \ 16 & 8 & 4 & 2 & 1 \ \ 1 & -1 & 1 & -1 & 1 \ \ 1 & 1 & 1 & 1 & 1 \ \ 0 & 0 & 0 & 0 & 1 \ end {bmatrix} ^ {- 1}
- \begin{bmatrix}
\begin{bmatrix} 1 & 0 & 0 & 0 & 0 \ \ 16 & 8 & 4 & 2 & 1 \ \ 1 & -1 & 1 & -1 & 1 \ \ 1 & 1 & 1 & 1 & 1 \ \ 0 & 0 & 0 & 0 & 1 \ end {bmatrix} ^ {- 1}
- \begin{bmatrix}
\begin{bmatrix} 1 & 0 & 0 & 0 & 0 \ \ 16 & 8 & 4 & 2 & 1 \ \ 1 & -1 & 1 & -1 & 1 \ \ 1 & 1 & 1 & 1 & 1 \ \ 0 & 0 & 0 & 0 & 1 \ end {bmatrix} ^ {- 1}
- \begin{bmatrix}
See too
References
- ТоомАндрейЛеонович, Осложностисхемыизфункциональныхэлементов, реализующейумножениецелыхчисел , ДокладыАкадемииНаукСССР, T.150, N°3, pagg.496-498 * D. Knuth. The Art off Computer Programming , Volume 2. Third edition, Addison-Wesley, 1997.
- R. Crandall & C. Pomerance. Numbers Premium - has Computational Perspective . Second edition, Springer, 2005.
| Random links: | Scarab3ee rhinoceros | Jacques-Rousseau price | Bruce All Saints' day | Arbogast of Strasbourg | Archipelago Reina Adelaida | John_Schoenherr |