An efficient algorithm for product computations on computer
β Scribed by K.C. Wong; S.Sitharama Iyengar
- Publisher
- Elsevier Science
- Year
- 1980
- Tongue
- English
- Weight
- 263 KB
- Volume
- 6
- Category
- Article
- ISSN
- 0096-3003
No coin nor oath required. For personal study only.
π SIMILAR VOLUMES
We present two new algorithms for computing the Jacobi Symbol: the right-shift and left-shift k-ary algorithms. For inputs of at most n bits in length, both algorithms take O(n 2 / log n) time and O(n) space. This is asymptotically faster than the traditional algorithm, which is based in Euclid's al
This paper presents an algorithm for evaluating an arithmetic expression over "big" rational numbers. The method exploits \(p\)-adic arithmetic and parallelism to achieve efficiency. Roughly, the algorithm begins by mapping the input rational numbers to the related p-adic codes for several prime ba