Stationary splitting iterative methods for the matrix equation AX B = C
Abstract
Stationary splitting iterative methods for solving AXB = Care considered in this paper. The main tool to derive our new method is the induced splitting of a given nonsingular matrix A = M −N by a matrix H such that (I −H) invertible. Convergence properties of the proposed method are discussed and numerical experiments are presented to illustrate its computational efficiency and the effectiveness of some preconditioned variants. In particular, for certain surface fitting applications, our method is much more efficient than the progressive iterative approximation (PIA), a conventional iterative method often used in computer-aided geometric design (CAGD).
Full text
STATIONARY SPLITTING ITERATIVE METHODS FOR THE MATRIX EQUATION AXB =C ZHONGYUN LIU∗, ZHEN LI∗, CARLA FERREIRA†,AND YULIN ZHANG† Abstract. Stationary splitting iterative methods for solving AXB =Care considered in this paper. The main tool to derive our new method is the induced splitting of a given nonsingular matrix A=M − N by a matrix Hsuch that (I− H)−1exists. Convergence properties of the proposed method are discussed and numerical experiments are presented to illustrate its computational efficiency and the effectiveness of some preconditioned variants. In particular, for certain surface-fitting applications our method is much more efficient than the progressive iterative approximation (PIA), a conventional iterative method often used in computer aided geometric design (CAGD). Key words. Hermitian positive definite, H-matrices, stationary splitting iteration, induced splitting,curves fitting. AMS subject classifications. 15A23, 65D17, 65F10, 65F15. 1. Introduction. Consider the matrix equation AXB =C, (1.1) where A∈Rn×n,B∈Rm×mand X, C ∈Rn×m. This matrix equation plays an important role in many practical applications such as surfaces fitting in computer aided geometric design (CAGD), signal and image processing, photogrammetry, etc., see for example [14, 19, 20, 30, 31] and a large literature therein. Given the existence of many and important applications, the theory and algorithms for matrix equations have intrigued the researchers for decades, see [7, 9, 15, 21, 28, 29, 30, 31, 34, 37]. A recent survey on the major numerical algorithms for the solution of the more general linear matrix equation AXE +DXB =C, for given square matrices A, B, D, E and conformable matrix C, and related problems is presented in [33]. The matrix equation (1.1) can be treated as a standard linear system with multiple right-hand sides as pointed out in [33, p.380]. More precisely, it is possible, for instance, to split the initial problem into two matrix equations, AY =Cand BTXT=YT, to be considered in succession. In practice, instead of solving each of the linear systems independently, by using the LU decomposition method or some ∗School of Mathematics and Statistics, Changsha University of Science and Technology, Changsha 410076, P. R. China ([email protected]). , †Centro de Matem´atica, Universidade do Minho, 4710-057 Braga, Portugal (Carla Ferreira: [email protected], Yulin Zhang: [email protected]). 1
2Z.-Y. Liu, et al. iterative method, it is more efficient to use a block solver, especially when the matrices involved are dense. See [13, 32, 38]. Equation (1.1) is also mathematically equivalent to the larger linear system (BT⊗A)x=c,(1.2) where ⊗denotes the standard Kronecker product symbol, x=vec(X) and c=vec(C) are two column-stacking vectors of the matrices Xand C, respectively. The order of the coefficient matrix in (1.2) is mn, which becomes very large when m, n are large. It is useful to consider the general linear system (1.2) in a theoretical analysis but it is impractical to solve this system to obtain a numerical solution to (1.1), since it is computationally expensive and it can be ill-conditioned. Thus, it is attractive to get the solution for (1.1) from itself. Moreover, the Level 3 BLAS operations can be performed on high performance computers [8]. In this paper we focus our attention in methods developed directely from the original matrix equation (1.1). There are two main types of methods for solving this problem: direct methods and iterative methods. When the matrices Aand Bare small and dense, direct methods such as QR-factorization-based algorithms [9, 36] are attractive. However, these direct algorithms are quite costly and suffer from numerical instability when Aand Bare large and ill-conditioned. Therefore, considerable attention has recently been paid to iterative methods, see for instance [15, 28, 29, 34, 35, 37] and references therein. In the context of this problem, Tian et al. in [34] developed some Jacobi and Gauss-Seidel-type iterative methods for solving (1.2). Let us roughly summarize their schemes as follows in terms of the original problem (1.1). We say that the representation A=M−N is a splitting of Aif Mis nonsingular. The splitting A=M−N is called convergent if ρ(H)<1, where H=M−1Nis the iteration matrix and ρ(H) denotes the spectral radius of the matrix H. Let A=F−Gand B=ˆ F−ˆ Gbe the splittings of Aand B, respectively. Then the four basic iteration sequences defined in [34] can be equivalently written as follows: X(k+1) =F−1GX(k)+F−1CB−1,(1.3) X(k+1) =X(k)ˆ Gˆ F−1+A−1Cˆ F−1,(1.4) X(k+1) =F−1GX(k)+X(k)ˆ Gˆ F−1−F−1GX(k)ˆ Gˆ F−1+F−1Cˆ F−1(1.5)
Stationary splitting iterations for AXB =C3 and X(k+1) =X(k)+F−1C−AX(k)Bˆ F−1.(1.6) The iterations (1.3) and (1.4) are referred as modified iterations and some of their convergence theories as well as related algorithms were discussed in [34]. In fact, if A−1or B−1is available or it is easy to obtain, then the matrix equation (1.1) can be reduced into a general linear system with multiple right-hand sides. In this situation, iteration sequence (1.3) or (1.4) can be employed to obtain an approximate solution to (1.1), otherwise they are useless in practice. We therefore focus on iterations (1.5) and (1.6). We refer to iteration (1.5) as the direct splitting iteration and to iteration (1.6) as the residual-updating iteration (cf. [2]). It is known that the iteration sequences (1.3) and (1.4) converge to the exact solution of (1.1) if and only if ρ(F−1G)<1 and ρ(ˆ Gˆ F−1)<1, respectively. In what respects to the iteration sequence (1.5), this condition is not suficient for convergence. It was shown in [21], exhibiting a numerical example, that even if both ρ(F−1G)<1 and ρ(ˆ Gˆ F−1)<1 hold simultaneously, the method may not converge. In this paper we recall the sufficent conditions for convergence of (1.5) that were established in [21] (see Theorem 2.10) and develop a new iterative scheme that also deals with the cases when convergence is not ensured immediatley. The splittings considered in the iterative methods described in [34] were the particular splittings of Jacobi and Gauss-Seidel of the matrix BT⊗A. The method we propose works with the original matrices Aand B, whose size is much smaller if mand nare large, and it can be applied to any convergent splitting of these matrices. Thus, our method is broader in what respects to the type of splitting that may be considered and enables an improvement of the performance speed if mand nare large. In our numerical experiments we first consider Gauss-Seidel splittings of Aand B and antecipate possible divergence, even if conditions ρ(F−1G)<1 and ρ(ˆ Gˆ F−1)<1 both hold. These cases where not considered in [34] and, thus, with these numerical results we intend to give a complementary study to [34] rather than to provide a comparison of the different methods. We present the details of the implementation of our method in Matlab and in our numerical studies we also consider sucessive overrelaxation Gauss-Seidel (SOR) splittings and preconditioned versions of our method. This paper is organized as follows. In the next section we recall some preliminary results used in the sequel. Then, in Section 3, we introduce stationary splittings and discuss the convergence of the resulting induced splitting iteration. Some preconditioned variants of this iteration are also presented in Section 3. The first numerical
4Z.-Y. Liu, et al. experiments are presented in Section 4 to exhibit the effectiveness of our method. An example of an application to surface-fitting is described in Section 5 and more numerical results are shown. A brief conclusion is drawn in Section 6, and the acknowledgements are writen in the last section. 2. Preliminaries. In this section, we review some definitions, notation and known results needed in the remaining parts of this paper. Definition 2.1. ([3, 14]) A matrix A= (aij)∈Rn×nis called •aZ-matrix, if aij ≤0, for i, j = 1, . . . , n,i6=j; •a monotone matrix, if A−1≥0; •an M-matrix, if Ais a monotone Z-matrix. Definition 2.2. ([10]) Let A= (aij)∈Cn×n. Let hAi = (αij)∈Rn×nbe defined by the following conditions: •αii =|aii|for i= 1, . . . , n; •αij =−|aij|for i, j = 1, . . . , n,i6=j. Matrix hAi is called the comparison matrix of A. Definition 2.3. ([10]) Let A= (aij)∈Cn×n. If its comparison matrix hAi is an M-matrix, then Ais called an H-matrix. Definition 2.4. ([3, 14, 27]) Let A ∈ Rn×n. The splitting A=M−N is called •weak regular if M−1≥0and M−1N≥0; •regular if M−1≥0and N ≥ 0; •P-regular if M∗+Nis positive definite; •M-splitting if Mis an M-matrix, and N ≥ 0; •H-splitting if hMi−|N| is an M-matrix; •H-compatible splitting if hAi =hMi−|N|. The following results about matrix splittings can be found in [3, 10, 14, 24, 27]. Theorem 2.5. Let A=M−N be an hermitian positive definite matrix, where Mis a invertible hermitian matrix. Then ρ(M−1N)<1if and only if the splitting A=M−N is P-regular. Theorem 2.6. Let Abe hermitian, and let the splitting A=M−N be P-regular. Then ρ(M−1N)<1if and only if Ais positive definite. Lemma 2.7. Let A ∈ Rn×nbe a monotone matrix. If A=M − N is a weak regular splitting, then ρ(M−1N)<1. Lemma 2.8. Let Abe an n×n H-matrix.
Stationary splitting iterations for AXB =C5 •If the splitting A=M−N is an H-splitting, then ρ(M−1N)<1. •If the splitting A=M−N is an H-compatible splitting, then it is an H- splitting and thus convergent. We remark here that an M-matrix is certainly an H-matrix but the converse is not true, and that all strictly or irreducibly diagonally dominant matrices are H-matrices. The following conclusion is often used in the analysis of iterative methods. Lemma 2.9. ([17, 24]). Given a nonsingular matrix Aand Hsuch that (I−H)−1 exists, there exists a unique pair of matrices MH,NH, such that H=M−1 HNHand A=MH− NH, where MHis nonsingular. It is said that A=MH− NHis an induced splitting of Aby H. The following theorem concerns the convergence of iteration sequence (1.5). Theorem 2.10. ([21, Theorem 2.8]) Let A=F−Gand B=ˆ F−ˆ Gbe two splittings of Aand B, respectively. Let H=F−1Gand ˆ H=ˆ Gˆ F−1. If ρ(H)<√3−1, ρ(ˆ H)<√3−1 (2.1) and [ρ(H) + 1]2+ [ρ(ˆ H) + 1]2<4,(2.2) then iteration sequences (1.5) and (1.6) converge to the exact solution of (1.1). 3. The induced splitting iteration. In this section we develop a new iterative method for solving the matrix equation (1.1) and analyze the convergence properties of this new method. A preconditioned variant of this method will also be described. 3.1. Iterative scheme and convergence results. We first introduce induced splittings of the matrices Aand B. Let the splittings A=F−Gand B=ˆ F−ˆ Gbe convergent splittings. Defining H=F−1G, ˜ H=ˆ F−1ˆ Gand ˆ H=ˆ Gˆ F−1, we have ρ(H)<1 and ρ(ˆ H) = ρ(˜ H)<1, since, for any two square matrices Sand T,ST and TS have the same eigenvalues. Using the above notation, iteration (1.5) may be written as X(k+1) =HX(k)+X(k)ˆ H−HX(k)ˆ H+F−1Cˆ F−1.(3.1) If this iteration sequence does not converge (conditions (2.1) and (2.2) in Theorem 2.10 are not satisfied simultaneously), then we proceed as follows.
6Z.-Y. Liu, et al. We first estimate ρ=ρ(H) and ˆρ=ρ(ˆ H) using the power iteration. If ρ < 1, then the sequence ρpconverges to 0 with pand, thus, for any arbitrarily small ε1>0, there exists a positive integer N1such that ρp≤ε1, when p≥N1. Let p≥N1be fixed and let H=Hp. Then ρ(H) = ρp<1 and I−H is invertible. By Lemma 2.9, this Hinduces a unique splitting of A, that is, A=M−N, M−1=p−1 P i=0 HiF−1with M−1N=H.(3.2) Observe that, since this splitting of Ayields A−1= (I− H)−1M−1and the first splitting of Agives A−1= (I−H)−1F−1, we obtain M−1= (I−H)A−1= (I−Hp)(I−H)−1F−1= (I+H+···+Hp−1)F−1. This formula for M−1can also be directly derived from a two-stage iteration for solving Ax=bwith outer splitting A=A−O, where Odenotes the zero matrix, see [6, 10, 17, 24]. We refer to (3.2) as a p-degree induced splitting of Aby H. Similarly, if ˆρ < 1, then, for any arbitrarily small ε2>0, there exists a positive integers N2such that ˆρq≤ε2, when q≥N2. Let ˜ H=˜ Hqand ˆ H=ˆ Hqfor a fixed q≥N2. Then ρ(˜ H) = ρ(ˆ H) = ˆρq<1 and, by Lemma 2.9, analogously to what was considered for A, matrices ˜ Hand ˆ Hinduce unique splittings of B, given, respectively, by B=˜ M− ˜ N ˜ M−1=q−1 P i=0 ˜ Hiˆ F−1with ˜ M−1˜ N=˜ H,(3.3) and B=ˆ M− ˆ N, ˆ M−1=ˆ F−1q−1 P i=0 ˆ Hiwith ˆ Nˆ M−1=ˆ H.(3.4) Observe that the splitting (3.4) is derived from the relations B−1=ˆ M−1(I−ˆ H)−1 and B−1=ˆ M−1(I−ˆ H)−1, both combined to obtain the expression for ˆ M−1. Also observe that ˆ M−1=˜ M−1. The splittings (3.3) and (3.4) are referred to as q-degree induced splittings of B, by ˜ Hand ˆ H, respectively. Now, we can use the induced splittings (3.2) and (3.4) to construct the iteration schemes corresponding to (3.1), X(k+1) =HX(k)+X(k)ˆ H−HX(k)ˆ H+M−1Cˆ M−1,(3.5)
Stationary splitting iterations for AXB =C7 and the iteration scheme corresponding to (1.6), X(k+1) =X(k)+M−1C−AX(k)Bˆ M−1.(3.6) We remark here that if p=q= 1, then iterations (3.5) and (3.6) reduce to (3.1) and and (1.6), respectively. We refer to iterations (3.5) and (3.6) as induced splitting iterations. Going to a numerical implementation, we chose to develop the algorithm for the induced splitting iteration (3.6), since it is computationally more efficient. If we let A1=M−1A, B1=Bˆ M−1, C1=M−1Cˆ M−1,(3.7) iteration (3.6) becomes X(k+1) =X(k)+C1−A1X(k)B1,(3.8) resulting that only two matrix multiplications are needed per iteration. We are now in conditions to write the arguments we discussed above as a convergence theorem for iterations (3.6) (and (3.5)). Theorem 3.1. Consider convergent splittings A=F−Gand B=ˆ F−ˆ G. Let H=F−1G,ˆ H=ˆ Gˆ F−1,ρ=ρ(H)and ˆρ=ρ(ˆ H). Then there exist two positive integers N1and N2such that ρpand ˆρqsatisfy (2.1) and (2.2) for all p≥N1and q≥N2. In this case, the iteration (3.6) converges to the exact solution of (1.1), for any given guess X(0). Proof. It follows from the hypothesis that ρ=ρ(H)<1 and ˆρ=ρ(ˆ H)<1. Thus, given any two positive integers pand q, for H=Hpand ˆ H=ˆ Hq, we have ρ(H) = ρp<1, ρ(ˆ H) = ˆρq<1 and, by Lemma 2.9, Hand ˆ Hinduce the splittings A=M−N and B=ˆ M− ˆ N, given by (3.2) and (3.4), respectively. We also know that there always exist positive integers p=N1and q=N2for which ρ(H) and ρ(ˆ H) are arbitrarily small, for all p≥N1and q≥N2, and then satisfy (2.1) and (2.2). By Theorem 2.10, we therefore conclude that the iteration (3.6) converges to the exact solution of (1.1), for any given guess X(0). As a consequence of Theorem 3.1, we have the following result. Corollary 3.2. Let Aand Bbe Hermitian positive definite or H-matrices. Let A=F−Gand B=ˆ F−ˆ Gbe their Gauss-Seidel splittings * , let H=F−1G, ˆ H=ˆ Gˆ F−1, and let ρ=ρ(H)and ˆρ=ρ(ˆ H). Then there exist two positive integers * The splitting A= (D−L)−Uis the Gauss-Seidel splitting of A, where Dis the diagonal matrix consisting of the diagonal entries of A,Land Uare the strictly lower triangular and the strictly upper triangular parts of A, respectively.
8Z.-Y. Liu, et al. N1and N2such that ρpand ˆρqsatisfy (2.1) and (2.2) for all p≥N1and q≥N2. In this case, the iteration (3.6) converges to the exact solution of (1.1), for any given guess X(0). Proof. It is sufficient to show that ρ < 1 and ˆρ < 1. If Aand Bare Hermitian positive definite and the splittings A=F−Gand B=ˆ F−ˆ Gare the Gauss-Seidel splittings, these are P-regular splittings. Then, by Theorem 2.5 or Theorem 2.6, we have ρ < 1 and ˆρ < 1. Similarly, If Aand Bare H-matrices, and the splittings A=F−Gand B=ˆ F−ˆ Gare the Gauss-Seidel splittings, these are H-compatible splittings. Then, by Lemma 2.8, we also have ρ < 1 and ˆρ < 1. We may now present our algorithm based on iteration (3.8). Observe that in this scheme an estimate for the error E(k)=X(k+1) −X(k)is immediately available. Algorithm 1. An approximated solution to (1.1) is obtained in two stages. Preparatory stage: – determine the splittings A=F−Gand B=ˆ F−ˆ G(SOR splittings, for example) and then compute H=F−1Gand ˆ H=ˆ Gˆ F−1; – obtain estimates ρ=ρ(H)and ˆρ=ρ(ˆ H)and search for two positive integers pand qsuch that ρpand ˆρqsatisfy (2.1) and (2.2); – once some pand qare determined, compute M−1and ˆ M−1given in (3.2) and (3.4), respectively; – compute A1, B1and C1according to (3.7). Iterative stage: Given an initial guess X(0), for k= 0,1,2,··· ,until {X(k)} converges, •compute E(k)=C1−A1X(k)B1and X(k+1) =X(k)+E(k); •compare kE(k)kwith the desired error tolerance. In Section 4 we describe some details considered in our Matlab implementation of Algorithm 1 in which we included the SOR splittings. We remark here that if Aand Bare Hermitian positive definite or H-matrices, then a block version of Algorithm 1 with block Gauss-Seidel splittings can be easily developed, which is appealing for solving large matrix equations on parallel architectures, see [1]. 3.1.1. Finding pand q.When we find pand qthat satisfy (2.1) and (2.2), then we can also consider greater values and the greater pand qare, the smaller the spectral radii ρ(H) and ρ(ˆ H) are and thus the smaller the number of iterations is (required for Algorithm 1 to converge for a given tolerance). However, increasing p and qmeans increasing the computational complexity (the number of matrix-matrix
Stationary splitting iterations for AXB =C9 multiplications) to obtain M−1and ˆ M−1which will only be compensated by the reduction of the number of iterations up to a certain level, namely if the orders m and nof the matrices Aand Bare not small. Thus, it is important to consider the question: for given matrices Aand Band convergent splittings of these matrices, are there optimal values for pand q? Certainly, the optimal values, if they exist, will depend on the specific structures and orders of the matrices Aand Bas well as on the properties of the splittings considered. We regard that a theoretical study of this question is beyond the scope of this paper. We tested different choices for pand qand there is computational evidence that the procedure we next describe gives very good results. Assuming ρ=ρ(H)<1 and ρ(ˆ H) = ˆρ < 1, we solve ρp<√3−1 and ˆρq<√3−1,(3.9) for pand q, and take the smallest positive integers p1and q1that satisfy these inequalities. If condition (2.2) for ρp1and ˆρq1, (ρp1+ 1)2+ (ˆρq1+ 1)2<4,(3.10) is not satisfied, we let p1and q1be set to p1+ 1 and q1+ 1, respectively, and test condition (3.10) again. We repeat this step until condition (3.10) is satisfied. Alternatively to this procedure, in the case ρ≈ˆρor ˆρ<ρ, we could consider solving for pthe inequality ρp+ 12<2, and take the smallest positive integer solution p2. Then we would let p= max{p1, p2} and q= max{q1, p2}. Condition (3.10) should be verified (approximately). Analogously, if ρ < ˆρ, we would consider ˆρq+ 12<2, find the smallest positive integer solution q2and let p= max{p1, q2}and q= max{q1, q2}. The important observation here is that the difference between pand qwill come from conditions (3.9) and not from condition (3.10). In Section 4 we report some numerical experiments exhibiting the CPU time needed for convergence for different values of pand qin Example 4.2. 3.1.2. Sucessive overrelaxation splittings. In the sucessive overrelaxation Gauss-Seidel (SOR) iterative method, we introduce a parameter ω, the relaxation
16 Z.-Y. Liu, et al. P2,µA;P2,µB n=m µi;A µi;B p, q Iter CPU 0.8 0.4 3,3 33 0.02 10 0.8 0.3 3,4 35 0.04 0.5 0.5 3,2 46 0.03 0.6 0.7 8,6 50 0.45 20 0.7 0.7 6,5 51 0.45 0.5 0.5 8,5 72 0.35 0.8 0.5 7,5 72 3.61 c= 0.5 30 0.8 0.3 9,8 73 3.78 0.5 0.5 16,7 83 4.37 0.8 0.4 12,9 80 16.01 40 0.8 0.3 13,11 82 17.23 0.5 0.5 26,9 90 19.50 0.8 0.5 15,8 91 81.51 50 0.8 0.4 17,10 92 76.92 0.5 0.5 37,11 98 101.39 0.6 0.8 3,3 33 0.02 10 0.8 0.6 3,3 34 0.02 0.5 0.5 4,3 59 0.02 0.6 0.8 7,5 65 0.46 20 0.5 0.6 12,11 66 0.64 0.5 0.5 13,13 69 0.74 0.7 0.7 15,15 72 4.00 c= 0 30 0.7 0.8 10,13 73 5.65 0.5 0.5 29,28 75 8.16 0.8 0.8 16,16 77 22.03 40 0.7 0.8 23,18 78 23.73 0.5 0.5 50,50 79 34.44 0.8 0.8 25,25 81 65.49 50 0.8 0.7 29,35 82 76.39 0.5 0.5 78,77 82 112.20 Table 4.4 Preconditioned variant (3.15) of Algorithm 1 with preconditioner P2,µ .
Stationary splitting iterations for AXB =C17 For all cases considered in Table 4.4 we show the results for the choice µi= 0.5, both in P2,µAand P2,µB. We observe that this choice always produces a significative reduction of the values pand qand, although the number of iterations do not change much, the CPU time is similar and sometimes better, when compared to the results without preconditioning in Table 4.1. For instance, for c= 0, m=n= 40, where pand qwhere reduced from 150 to 50, the CPU time decreased by a factor of 25%; and for c= 0, m=n= 50, where the reduction of pand qwas from 233 and 232 to 78 and 77, respectively, the CPU time was shortened in aprroximatly 55%; and for c= 0.5, m=n= 50, pand qdiminished from 119 and 43 to 37 and 11, respectively, and the CPU time dropped by a factor of 30%. These results, once more, reveal that a significative part of the computation in Algorithm 1 is related to the preparatory stage. In Table 4.4 we also show other choices for µithe choices that lead to the smallest number of iterations and to the shortest time, which coincide for all cases (except for c= 0.5, n=m= 20 and n=m= 50, but the differences are very small). Choices of µithat produce similar results to the best ones are also presented. For example, for the case c= 0 and m=n= 40 the values µi,A =µi,B = 0.8 and µi,A = 0.7, µi,B = 0.8 both lead to a reduction of more than 50% of the CPU time. The most significative difference in efficiency occurred for c= 0 and m=n= 50 with the CPU time being reduced to a fourth of the initial time. In fact, the greater n=mis, the more gain we see in preconditioning. We decided not to show any results for the other preconditioned variants (3.13) and (3.14). We did several experiments but, although in most cases there was an improvement in terms of efficiency, it was never so good as using the variant (3.15). 5. Application to surface-fitting. In this section we consider applications of Algorithm 1 to surfaces-fitting. Let us first recall the details for the conventional iterative methods for tensor product surface-fitting. Let (φ0, . . . , φn) and (ψ0, . . . , ψm) be two normalized totally positive bases. Then, given a sequence of control points {Pij},i= 0,1, . . . , n and j= 0,1, . . . , m. A parametric tensor product surface can be defined as S(α, β) = n X i=0 m X j=0 Pijφi(α)ψj(β). Let the control points Pij be parameterized with the real increasing sequences t0< t1< . . . < tnand s0< s1< . . . < sm, where the parameter pair (ti, sj) is assigned to the control point Pij, for i= 0,1, . . . , n and j= 0,1, . . . , m. Then, an
18 Z.-Y. Liu, et al. initial tensor product surface can be constructed as follows. S(0)(t, s) = n X i=0 m X j=0 P(0) ij φi(t)ψj(s), where P(0) ij =Pij, for i= 0,1, . . . ,n and j= 0,1, . . . , m. Then the (k+ 1)-th tensor product surface S(k+1)(t, s) for k≥0, can be obtained as follows S(k+1)(t, s) = n X i=0 m X j=0 P(k+1) ij φi(t)ψj(s) with (∆(k) uv =Puv −S(k)(tu, sv), P(k+1) uv =P(k) uv + ∆(k) uv ,(5.1) for u= 0,1, . . . , n and v= 0,1, . . . , m. The iteration (5.1) is the conventional iterative method for tensor product surfacefitting and always converges for all normalized totally positive bases. Therefore, the iteration (5.1) is referred to as the progressive iterative approximation, briefly denoted by PIA in CAGD, see [19, 20] and references therein. Let P(k) uv be arranged in the following matrix form P(k)= (P(k) 00 , P(k) 01 , . . . , P(k) 0m, P(k) 10 , P(k) 11 , . . . , P(k) 1m, . . . , P(k) n0, P(k) n1, . . . , P(k) nm)T, which is a [(n+ 1)(m+ 1) ×3] matrix. If we denote P(k)= (P(k) x, P(k) y, P(k) z), then the first, the second and last columns consist of x-coordinates, y-coordinates and z-coordinates of all points P(k) uv , for u= 0,1, . . . , n and v= 0,1, . . . , m. Furthermore, let Aand Bbe the collocation matrices of the bases (φ0, . . . , φn), and (ψ0, . . . , ψm), respectively. Then Equation (5.1) can be written as follows. P(k+1) =P(k)+ [P−(B⊗A)P(k)],(5.2) or P(k+1) x=P(k) x+ [Px−(B⊗A)P(k) x], P(k+1) y=P(k) y+ [Py−(B⊗A)P(k) y], P(k+1) z=P(k) z+ [Pz−(B⊗A)P(k) z]. (5.3) The iteration sequences of (5.3) is mathematically equivalent to Richardson iterations (see [4, 5]) for solving the following linear systems (B⊗A)x=Px,(B⊗A)y=Pyand (B⊗A)z=Pz.(5.4)
Stationary splitting iterations for AXB =C19 From the viewpoint of numerical linear algebra, it is preferable to solve AXBT=C1, AY BT=C2and AZBT=C3,(5.5) where vec(X) = x,vec(Y) = y,vec(Z) = z,vec(C1) = Px,vec(C2) = Pyand vec(C3) = Pz. Example 5.1. In this example we compare Algorithm 1, using Gauss-Seidel splitting, with PIA for the tensor product surface-fitting problem described in this section. Here we consider the cubic B-spline basis whose collocation matrices are H-matrices and have the following form An×n= 1 0 4−λ 24 8+λ 12 4−λ 24 ......... 4−λ 24 8+λ 12 4−λ 24 0 1 , B =AT, for −2≤λ≤1. We solve the three matrix equations in (5.5) for λ=−1and for several values of n. In all cases, we use the minimum values for pand q,p= 2 and q= 1, and require the accuracy of 10−3. The results are shown in Table 5.1. nPIA Algorithm 1 10 0.009 0.004 20 0.093 0.004 30 0.321 0.026 40 1.433 0.034 50 4.883 0.045 60 15.73 0.051 70 34.24 0.056 80 102.51 0.073 90 183.61 0.077 100 315.88 0.111 Table 5.1 CPU time in seconds for Algorithm 1 an PIA. Our results in Example 5.1 clearly show that Algorithm 1 converges significatively faster than PIA. In Figure 5.1 we show the interpolating surface for the case λ=−1 and n= 20.
20 Z.-Y. Liu, et al. Fig. 5.1 Interpolating surface for Example 5.1 when λ=−1 and n= 20. 6. Conclusions. In this paper we introduced an algorithm to solve the matrix equation AXB =C, based on a p-degree induced splitting of Aand on a q-degree induced splitting of B. We discussed possible choices for the positive integers pand q so that not only the conditions for convergence are satisfied but also the convergence is fast. We implemented our method in Matlab, with several concerns with respect to computational costs, and preliminary numerical results show the robustness of our method. In our numerical experiments we also considered preconditioned variants for the case when Aand/or Bare M-matrices. The value in the interval [0,1] for the parameter defining the preconditioner considered, even when chosen at random to be 0.5, produced very satisfying improvements. Furthermore, we used Algorithm 1 to solve tensor product surface-fitting problems with the cubic B-spline basis. For our examples the numerical tests show that our method is significatively faster than PIA. 7. Acknowledgement. The authors would like to thank the supports of the National Natural Science Foundation of China under Grant No. 11371075, the Hunan Key Laboratory of mathematical modeling and analysis in engineering, and the Portuguese Funds through FCT–Fundac˜ao para a Ciˆencia e a Tecnologia, within the Project UID/MAT/00013/2013.
Stationary splitting iterations for AXB =C21 REFERENCES [1] P. Amodio and F. Mazzia, A parallel Gauss-Seidel method for block tridiagonal linear systems, SIAM J. Sci. Comput., 16 (1995), pp. 1451-1461. [2] Z.-Z. Bai and M. Rozloznik, On the numerical behavior of matrix splitting iteration methods for solving linear systems, SIAM J. Numer. Anal., 53 (2015), pp. 1716-1737. [3] A. Berman and R. Plemmons, Nonnegative Matrices in Mathematical Sciences, SIAM, Philadelphia, PA, USA, 1994. [4] J. Carnicer, J. Delgado and J. Pe˜na , Richardson method and totally nonnegative linear systems, Linear Algebra Appl., 11(2010):2010-2017. [5] J. Carnicer and J. Delgado, On the progressive iterative approximation property and alternative iterations, Comput. Aided Geom. Design, 28 (2011): 523-526. [6] Z.-H. Cao, On convergence of nested stationary iterative methods, Linear Algebra Appl., 221 (1995), pp. 159-170. [7] D. S. Cvetkovic-Ilic, The reflexive solutions of the matrix equation AXB =C, Comput. Math. Appl., 51 (2006), pp. 897-902. [8] J. W. Demmel, Applied Numerical Linear Algebra, SIAM, Philadelphia, PA, USA, 1997. [9] D. W. Fausett and C. T. Fulton, Large least squares problems involving Kronecker products, SIAM J. Matrix Anal. Appl., 15 (1994), pp. 219-227. [10] A. Frommer and D. B. Szyld, H-Splitting and two-stage iterative methods, Numer. Math., 63 (1992), pp. 345-356. [11] G. H. Golub and C. F. Van Loan, Matrix Computations, Johns Hopkins University Press, Baltimore and London, 3rd edition, 1996. [12] A. Hadjidimos, D. Noutsos and M. Tzoumas, More on modifications and improvements of classical iterative schemes for M-matrices, Linear Algebra Appl., 364 (2003), pp. 253-279. [13] M. Heyouni and A. Essai, Matrix Krylov subspace methods for linear systems with multiple right-hand sides, Numerical Algorithms, 40 (2005), pp. 137-156. [14] R. A. Horn and C. R. Johnson, Matrix Analysis, Cambridge University Press, Cambridge, UK, 1985. [15] G.-X. Huang, F. Yin and K. Guo, An iterative method for the skew-symmetic solution and the optimal approximate solution of the matrix equation AXB =C, J. Comput. Appl. Math., 212 (2008), pp. 231-244. [16] T. Kohno and H. Niki, Letter to the Editor: A note on the preconditioned Gauss-Seidel (GS) method for linear systems, J. Comput. Appl. Math., 233 (2010), 2413-2421. [17] P. J. Lanzkron, D. J. Rose and D. B. Syzld, Convergence of nested classical iterative methods for linear systems, Numer. Math. 58 (1991), pp. 685-702. [18] W. Li, The convergence of the modified Gauss-Seidel methods for consistent linear systems, J. Comput. Appl. Math., 154 (2003), pp. 97-105. [19] H.-W. Lin, T. Maekawa and C.-Y. Deng, Survey on geometric iterative methods and their applications, Comput. Aided Design, 95(2017), pp. 40-51. [20] M.-Z. Liu, B.-J. Li, Q.-J. Guo, C.-G. Zhu, P. Hu and Y.-H. Shao, Progressive iterative approximation for regularized least square bivariate B-spline surface fitting, J. Comput. Appl. Math., 327 (2018), pp. 175-187. [21] Z.-Y. Liu, Y. Zhou, Y.-L. Zhang, L. Lin and D.-X. Xie, Some remarks on Jacobi and Gauss- Seidel-type iteration methods for the matrix equation AXB =C,Applied Math. Comput., 354 (2019), pp. 305-307. [22] Z.-Y. Liu, X.-R. Qin, N.-C. Wu and Y.-L. Zhang, The shifted classical circulant and skew circulant splitting iteration methods for Toeplitz matrices, Canad. Math. Bull., 60 (2017), pp. 807-815. [23] Z.-Y. Liu, N.-C. Wu, X.-R. Qin and Y.-L. Zhang, Trigonometric transform splitting methods for real symmetric Toeplitz systems, Comput. Math. Appl., 75 (2018), pp. 2782-2794.
22 Z.-Y. Liu, et al. [24] Z.-Y. Liu, H.-B. Wu and L. Lin, The two-stage iterative methods for symmetric positive definite matrices, Applied Math. Comput., 114 (2000), pp. 1-12. [25] J. P. Milaszewicz, Improving Jacobi and Gauss-Seidel iterations, Linear Algebra Appl., 93 (1987), pp. 161-170. [26] H. Niki, K. Harada, M. Morimoto and M. Sakakihara, The survey of preconditioners used for accelerating the rate of convergence in the Gauss-Seidel method, J. Comput. Appl. Math., 164-165 (2004), pp. 587-600. [27] J. M. Ortega, Numerical Analysis: A Second Course, Academic Press, New York, 1972. [28] Z.-Y. Peng, An iterative method for the least squares symmetric solution of the linear matrix equation AXB =C, Appl. Math. Comput. 170 (2005), 711-723. [29] Z.-Y. Peng, X.-Y. Hu and L. Zhang, An iteration method for the symmetric solutions and the optimal approximation solution of matrix equation AXB =C, Appl. Math. Comput., 160 (2005), pp. 763-777. [30] U. A. Rauhala, Introduction to array algebra, Photogramm. Eng. Remote Sens., 46 (1980), pp. 177-192. [31] P. A. Regalia and S. K. Mitra, Kronecker products, unitary matrices and signal processing applications, SIAM Rev., 31 (1989), pp. 586-613. [32] Y. Saad, Iterative methods for sparse Linear systems, 2nd edition, SIAM, Philadelphia, PA, USA, 2000. [33] V. Simoncini, Computational Methods for Linear Matrix Equation, SIAM Review, 58(3) (2016), pp. 377–441. [34] Z.-L. Tian, et al., The Jacobi and Gauss-Seidel-type iteration methods for the matrix equation AXB =C,Appl. Math. Comput., 292 (2017), pp. 63-75. [35] X. Wang, Y. Li and L. Dai, On Hermitian and skew-Hermitian splitting iteration methods for the linear matrix equation AXB =C. Comput. Math. Appl., 65 (2013), pp. 657-664. [36] H.-Y. Zha, Comments on large least squares problems involving Kronecker products, SIAM J. Matrix Anal. Appl., 16 (1995), pp. 1172-1172. [37] F.-X. Zhang, Y. Li, W.-B. Guo and J.-L. Zhao, Least squares solutions with special structure to the linear matrix equation AXB =C,Appl. Math. Comput., 217 (2011), pp. 10049-10057. [38] J. H. Zhang, H. Dai and J. Zhao, A new family of global methods for linear systems with multiple right-hand sides, J. Comput. Appl. Math., 236(6) (2011), pp. 1562-1575.