<< Chapter < Page | Chapter >> Page > |
In the algorithm described above we encountered expressionsof the form which we denote by To calculate the product it is computationally advantageous to factor into terms of the form [link] . Then each term represents a set of copies of . First, recall the following property of Kronecker products
This property can be used to factor in the following way. Let the number of rows and columns of be denoted by and respectively. Then
But we can also write
Note that in factorization [link] , copies of are applied to the data vector first, followed by copies of . On the other hand, in factorization [link] , copies of are applied to the data vector first, followed by copies of . These two factorizations can be distinguished by thesequence in which and are ordered.
Lets compare the computational complexity of factorizations [link] and [link] . Notice that [link] consists of copies of and copies of , therefore [link] has a computational cost of where is the computational cost of . On the other hand,the computational cost of [link] is . That is, the factorizations [link] and [link] have in general different computational costs when are not square. Further, observe that [link] is the more efficient factorization exactly when
or equivalently, when
Consequently, in the more efficient factorization,the operation applied to the data vector first is the one for which the ratio is the more negative.If and then [link] is always true ( is always positive). Therefore, in the most computationally efficientfactorization of , matrices with fewer rows than columns are always applied to the data vector before matrices with more rows than columns.If both matrices are square, then their ordering does not affect the computational efficiency, becausein that case each ordering has the same computation cost.
We now consider the Kronecker product of more than two matrices. For the Kronecker product there are possible different ways in which to order the operations . For example
Each factorization of can be described by a permutation of which gives the order in which is applied to the data vector . is the first operation applied to the data vector , is the second, and so on. For example, the factorization [link] is described by the permutation , , . For , the computational cost of each factorization can be writtenas
Notification Switch
Would you like to follow the 'Automatic generation of prime length fft programs' conversation and receive update notifications?