<< Chapter < Page Chapter >> Page >

Similarly, we can write a bilinear form for cyclotomic convolution.Let d be any positive integer and let X ( s ) and H ( s ) be polynomials of degree φ ( d ) - 1 where φ ( · ) is the Euler totient function.If A , B and C are matrices satisfying C Φ d k = Cdiag ( B e k ) A for 0 k φ ( d ) - 1 , then the coefficients of Y ( s ) = X ( s ) H ( s ) Φ d ( s ) are given by y = C { B h * A x } . As above, if y = C { B h * A x } computes the d -cyclotomic convolution, then we say “ ( A , B , C ) describes a bilinear form for Φ d ( s ) convolution."

But since X ( s ) H ( s ) Φ d ( s ) can be found by computing the product of X ( s ) and H ( s ) and reducing the result, a cyclotomic convolution algorithmcan always be derived by following a linear convolution algorithm by the appropriate reductionoperation: If G is the appropriate reduction matrix and if ( A , B , F ) describes a bilinear form for a φ ( d ) point linear convolution, then ( A , B , G F ) describes a bilinear form for Φ d ( s ) convolution. That is, y = G F { B h * A x } computes the coefficients of X ( s ) H ( s ) Φ d ( s ) .

Circular convolution

By using the Chinese Remainder Theorem for polynomials, circular convolution can be decomposed into disjointcyclotomic convolutions. Let p be a prime and consider p point circular convolution.Above we found that

S p = R p - 1 1 C Φ p R p

and therefore

S p k = R p - 1 1 C Φ p k R p .

If ( A p , B p , C p ) describes a bilinear form for Φ p ( s ) convolution, then

S p k = R p - 1 1 C p diag 1 B p R p e k 1 A p R p

and consequently the circular convolution of h and x can be computed by

y = R p - 1 C { B R p h * A R p x }

where A = 1 A p , B = 1 B p and C = 1 C p . We say ( A , B , C ) describes a bilinear form for p point circular convolution. Note that if ( D , E , F ) describes a ( p - 1 ) point linear convolution then A p , B p and C p can be taken to be A p = D , B p = E and C p = G p F where G p represents the appropriate reduction operations.Specifically, G p is given by Equation 42 from Preliminaries .

Next we consider p e point circular convolution.Recall that S p e = R p e - 1 i = 0 e C Φ p i R p e as in Equation 27 from Preliminaries so that the circular convolution is decomposed into a set of e + 1 disjoint Φ p i ( s ) convolutions. If ( A p i , B p i , C p i ) describes a bilinear form for Φ p i ( s ) convolution and if

A = 1 A p A p e B = 1 B p B p e C = 1 C p C p e

then ( A R p e , B R p e , R p e - 1 C ) describes a bilinear form for p e point circular convolution. In particular, if ( D d , E d , F d ) describes a bilinear form for d point linear convolution, then A p i , B p i and C p i can be taken to be

A p i = D φ ( p i ) B p i = E φ ( p i ) C p i = G p i F φ ( p i )

where G p i represents the appropriate reduction operation and φ ( · ) is the Euler totient function. Specifically, G p i has the following form

G p i = I ( p - 1 ) p i - 1 - 1 -p - 1 I p i - 1 I ( p - 2 ) p i - 1 - 1 0 p i - 1 + 1 , ( p - 2 ) p i - 1 - 1

if p 3 , while

G 2 i = I 2 i - 1 - I 2 i - 1 - 1 0 1 , 2 i - 1 - 1 .

Note that the matrix R p e block diagonalizes S p e and each diagonal block represents a cyclotomic convolution.Correspondingly, the matrices A , B and C of the bilinear form also have a block diagonal structure.

The split nesting algorithm

We now describe the split-nesting algorithm for general length circular convolution [link] . Let n = p 1 e 1 p k e k where p i are distinct primes. We have seen that

S n = P t R - 1 d | n Ψ ( d ) R P

where P is the prime factor permutation P = P p 1 e 1 , , p k e k and R represents the reduction operations. For example, see Equation 46 in Preliminaries . R P block diagonalizes S n and each diagonal block represents a multi-dimensional cyclotomicconvolution. To obtain a bilinear form for a multi-dimensional convolution,we can combine bilinear forms for one-dimensional convolutions.If ( A p j i , B p j i , C p j i ) describes a bilinear form for Φ p j i ( s ) convolution and if

A = d | n A d B = d | n B d C = d | n C d

with

A d = p | d , p P A H d ( p ) B d = p | d , p P B H d ( p ) C d = p | d , p P C H d ( p )

where H d ( p ) is the highest power of p dividing d , and P is the set of primes, then ( A R P , B R P , P t R - 1 C ) describes a bilinear form for n point circular convolution. That is

y = P t R - 1 C B R P h * A R P x

computes the circular convolution of h and x .

As above ( A p j i , B p j i , C p j i ) can be taken to be ( D φ ( p j i ) , E φ ( p j i ) , G p j i F φ ( p j i ) ) where ( D d , E d , F d ) describes a bilinear form for d point linear convolution. This is one particular choice for ( A p j i , B p j i , C p j i ) - other bilinear forms for cyclotomic convolution that are not derived from linear convolution algorithms exist.

A 45 point circular convolution algorithm:

y = P t R - 1 C B R P h * A R P x

where

P = P 9 , 5 R = R 9 , 5 A = 1 A 3 A 9 A 5 ( A 3 A 5 ) ( A 9 A 5 ) B = 1 B 3 B 9 B 5 ( B 3 B 5 ) ( B 9 B 5 ) C = 1 C 3 C 9 C 5 ( C 3 C 5 ) ( C 9 C 5 )

and where ( A p j i , B p j i , C p j i ) describes a bilinear form for Φ p j i ( s ) convolution.

The matrix exchange property

The matrix exchange property is a useful technique that, under certain circumstances,allows one to save computation in carrying out the action of bilinear forms [link] . Suppose

y = C A x * B h

as in [link] . When h is known and fixed, B h can be pre-computed so that y can be found using only the operations represented by C and A and the point by point multiplications denoted by * . The operation of B is absorbed into the multiplicative constants.Note that in [link] , the matrix corresponding to C is more complicated than is B . It is therefore advantageous to absorb the workof C instead of B into the multiplicative constants if possible. This can be done when y is the circular convolution of x and h by using the matrix exchange property.

To explain the matrix exchange property we draw from [link] . Note that y = C d i a g ( A x ) B h , so that Cdiag ( A x ) B must be the corresponding circulant matrix,

Cdiag ( A x ) B = x 0 x n - 1 x 1 x 1 x 0 x 2 x n - 1 x n - 2 x 0 .

Since Cdiag ( A x ) B = J Cdiag ( A x ) B t J where J is the reversal matrix, one gets

y = C A x * B h = Cdiag ( A x ) B h = J Cdiag ( A x ) B t J h = J B t d i a g ( A x ) C t J h = J B t A x * C t J h

As noted in [link] , the matrix exchange property can be used whenever y = T ( x ) h where T ( x ) satisfies T ( x ) = J 1 T ( x ) t J 2 for some matrices J 1 and J 2 . In that case one gets y = J 1 B t A x * C t J 2 h .

Applying the matrix exchange property to [link] one gets

y = J P t R t B t C t R - t P J h * A R P x .

A 45 point circular convolution algorithm:

y = J P t R t B t u * A R P x

where u = C t R - t P J h and

P = P 9 , 5 R = R 9 , 5 A = 1 A 3 A 9 A 5 ( A 3 A 5 ) ( A 9 A 5 ) B t = 1 B 3 t B 9 t B 5 t ( B 3 t B 5 t ) ( B 9 t B 5 t ) C t = 1 C 3 t C 9 t C 5 t ( C 3 t C 5 t ) ( C 9 t C 5 t )

and where ( A p j i , B p j i , C p j i ) describes a bilinear form for Φ p j i ( s ) convolution.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Automatic generation of prime length fft programs. OpenStax CNX. Sep 09, 2009 Download for free at http://cnx.org/content/col10596/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Automatic generation of prime length fft programs' conversation and receive update notifications?

Ask