Discrete Weighted Transforms and Large-Integer Arithmetic (Q4286602)
From MaRDI portal
!
This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:
scientific article; zbMATH DE number 541217
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | Discrete Weighted Transforms and Large-Integer Arithmetic |
scientific article; zbMATH DE number 541217 |
Statements
19 June 1996
0 references
integer multiplication
0 references
discrete Fourier transform
0 references
discrete weighted transform
0 references
Discrete Weighted Transforms and Large-Integer Arithmetic (English)
0 references
0 references
0.8429868221282959
0 references
0.7812957763671875
0 references
0.7782021164894104
0 references
As an extension to the technique of using the discrete Fourier transform to multiply two large integers, the concept of a discrete weighted transform (DWT) is introduced and shown, in certain situations, to improve the speed of multiplication by obviating zero-padding of digits. For an integer \(x\) having digits \(x_0, x_1, \dots\) in some base representation, define the signal of \(x\) as the collection of digits \({\mathbf x} = \{x_j : 0 \leq j < N\}\). For scalars \(A\) a scalar-signal product is defined by \(A {\mathbf x} = \{Ax_j\}\). For signals \({\mathbf a}\), \({\mathbf x}\) a signal-signal product is defined by \({\mathbf a} x = \{a_j x_j\}\) and when all signal elements are nonzero, an inverse signal is defined as \({\mathbf a}^{-1} = \{a_j^{-1}\}\). The DWT of the signal \({\mathbf X}\) with weight signal \({\mathbf a}\) (nonzero components) is \[ X_k = \sum^{N - 1}_{j = 0} a_j x_j g^{-jk} \] where \(g\) is a primitive \(N\)th root of unity in an appropriate domain. The inverse DWT is \[ x_j = (Na_j)^{-1} \sum^{N - 1}_{k = 0} X_k g^{jk}. \] These equations are denoted \({\mathbf X} = DWT (N, {\mathbf a}) {\mathbf x}\) and \({\mathbf x} = DWT^{-1} (N, {\mathbf a}) {\mathbf X}\). For \({\mathbf a}\) the all ones vector the DWT is the discrete Fourier transform. The weighted convolution algorithm for multiplication of \(x,y\) is then to compute \({\mathbf X} = DWT (N, {\mathbf a}) {\mathbf x}\) and \({\mathbf Y} = DWT (N, {\mathbf a}) {\mathbf y}\) for a given digit representation. For \({\mathbf Z} = {\mathbf X} Y\) compute \({\mathbf z} = DWT^{-1} (N, {\mathbf a}) {\mathbf Z}\). After a rounding operation on \({\mathbf z}\) the digits \(\{z_n\}\) are adjusted to the given digit representation. The effectiveness of the technique for Fermat and Mersenne numbers is investigated and the application to integer factorization is considered.
0 references