×

Fast on-line integer multiplication. (English) Zbl 0306.68029

STOC ’73, Proc. 5th ann. ACM Symp. Theor. Comput., Austin 1973, 67-72 (1973).
Summary: A Turing machine multiplies on-line if it receives its inputs low order digits first and it produces the \(k\)-th output digit before reading in the \((k+1)\)-st inputs. We present a general method for converting any off-line multiplication algorithm which forms the product of two \(n\)-bit binary numbers in time \(F(n)\) into an on-line method, and the new algorithm requires time only \(O(F(n) \log n)\). Applying this technique to the fast multiplication algorithm of A. Schönhage and V. Strassen [Computing 7, 281–292 (1972; Zbl 0223.68007)] gives an upper bound of \(O(n (\log n)^2 \log \log n)\) for on-line multiplication of integers. Other applications are to the on-line problems of products of polynomials over a finite ring, recognition of palindromes, and multiplication by a constant.

MSC:

68Q45 Formal languages and automata
68Q25 Analysis of algorithms and problem complexity
68M07 Mathematical problems of computer architecture
68W27 Online algorithms; streaming algorithms
Full Text: DOI

References:

[1] Cook, S.A. and Aanderaa, S.O., “On the Minimum Computation Time of Functions”, Trans. Amer. Math. Soc. 142 (1969), 291-314. · Zbl 0188.33402
[2] Fischer, P.C., Meyer, A.R., and Rosenberg, A.L. “Real-Time Simulation of Multihead Tape Units”, J. ACM 19 (1972), 590-607. 10.1145/321724.321726 · Zbl 0261.68027
[3] Fischer, M.J., Meyer A.R., and Paterson, M.S., work to be presented at the Am. Math. Soc. Symposium on the Complexity of Computation, New York, April 1973.
[4] Fischer, M.J. and Paterson, M.S., work to be presented at the Am. Math. Soc. Symposium on the Complexity of Computation, New York, April, 1973.
[5] Hennie, F.C., “On-Line Turing Machine Computations”, IEEE Trans. Electronic Computers EC-15, No. 1 (1966), 35-44. · Zbl 0143.01401
[6] Morris, J.H. and Pratt, V.R., “A Linear Pattern-Matching Algorithm”, TR-40, Computer Center, University of California at Berkeley, June 1970.
[7] Schönhage, A. and Strassen, V., “Schnelle Multiplikation grosser Zahlen”, Computing 7 (1971), 281-292. · Zbl 0223.68007
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.