EIT Agent
登录
← 校园网页目录

校园网页 · 学校官网

Fast structured direct spectral methods for differential equations with variable coefficients.pdf

Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. SIAM J. S CI. COMPUT. c⃝ 2016 Society for I ndustrial and Applied Mathematics Vol. 38, No. 1, pp. A28–A54 FAST STRUCTURED DIRECT SPECTRAL METHODS FOR DIFFERENTIAL EQUATIONS WITHVARIABLE COEFFICIENTS, I. THE ONE-DIMENSIONAL CASE∗ JIE SHEN†, YINGWEI WANG†, AND JIANLIN XIA† Abstract. We study the rank structures of the matrices in Fourier- and Chebyshev-spectral methods for differential equations with variable coefficients in one dimension. We show analytically that these matrices have a so-called low-rank property, not only for constant or smooth variable coefficients, but also for coefficients with steep gradients and/or high variations (large ratios in their maximum-minimum function values). We develop a matrix-free direct spectral solver, which uses only a small number of matrix-vector products to construct a structured approximation to the original discretized matrix A, without the need to explicitly formA. This is followed by fast structured matrix factorizations and solutions. The overall direct spectral solver hasO(N log 2 N) complexity and O(N) memory requirement. Numerical tests for several important but notoriously difficult problems show the superior efficiency and accuracy of our direct spectral solver, especially when iterative methods have severe difficulties in the convergence. Key words. spectral method, structured matrix, low-rank property, matrix-free direct solver, linear complexity AMS subject classifications. 65N35, 65F05, 65F30 DOI. 10.1137/140986815 1. Introduction. Spectral methods have been extensively used for solving dif- ferential equations due to their high order of accuracy; see [13, 3, 25, 26] and the references therein. However, for problems with general variable coefficients, spectral methods lead to full matrices. An effective approach is to use a low-order method (finite differences or finite elements [22, 4, 11, 16]) or integration operator [9, 32] as a preconditioner and to take advantage of the fact that the matrix-vector product from a Fourier- or Chebyshev-spectral discretization can be performed in quasi-optimal complexity. While this approach yields quasi-optimal complexity since lower-order methods on the same grid usually provide optimal preconditioners, it can still be ex- pensive (say, for multiple right-hand sides) and is generally not so robust as compared with direct solvers using finite difference or finite element methods. The aim of this paper is to develop fastdirect spectral Galerkin methods for solving differential equations with variable coefficients in one dimension. For the sake of simplicity, we restrict our attention to the following equation: (1.1) α(x)u−(β(x)u x)x = f(x),x ∈(a,b), where α(x),β(x),f (x) are given functions andα(x) ≥0,β(x) > 0. It will be clear from the proofsthat the results presentedin this paper donot depend onthe ellipticity and are actually applicable to a wide class of differential equations with variable coefficients. ∗Submitted to the journal’s Methods and Algorithms for Scientific Computing section September 15, 2014; accepted for publication (in revised form) October 7, 2015; published electronically January 6, 2016. The work of the first and second authors was partially supported by NSF grants DMS- 1217066 and DMS-1419053. The research of the third author was supported in part by NSF CAREER Award DMS-1255416 and NSF grant DMS-1115572. http://www.siam.org/journals/sisc/38-1/98681.html †Department of Mathematics, Purdue University, West Lafayette, IN 47907 (shen7@math.purdue. edu, wywshtj@gmail.com, xiaj@math.purdue.edu). A28 Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A29 It is well known that when α(x),β(x) are constants or polynomials, spectral Galerkin methods with proper basis functions may lead to well-conditioned sparse linear systems. However, whenα(x),β(x) are general variable coefficients, a spectral method for (1.1) leads a linear systemAu = f with A dense and often ill conditioned. When the order of the matrixN is large, theO(N 3)o p e r a t i o n sa n dO(N 2) storage required by common dense numerical linear algebra become overwhelmingly expen- sive. Moreover, the dense matrixA is usually not explicitly available, and it is costly to form it. Thus, in traditional spectral methods, iterative methods are often used to solve the resulting linear system due to the fact thatA can be quickly multiplied with vectors. However, when the coefficients havesteep gradientsand/or large variations or are degenerate, iterative methods often converge very slowly or do not converge at all. On the other hand, many scientific and engineering problems often lead to differ- ential equations with variable coefficients with steep gradients and/orlarge variations, or even degenerate coefficients (i.e.,β(x) = 0 at some points). Examples include interface problems such as Cahn–Hilliard equations or phase-field systems with a concentration-dependent mobility, highly anisotropic problems in fluid dynamics and wave scattering, problems with singular perturbations, and problems with interior layers. Hence, it is important to developrobust and accurate solution methods for these situations. In this work, we seek to quickly solve the linear systemAu = f resulting from a spectral discretization by a type of so-called structured direct methods based on matrix-vector products. The basic ideas were initially mentioned in [36]. We first study the detailed forms of the intermediate matrices used to buildA via a step-by- step decomposition of the spectral methods. Our analysis shows that, in many cases, the dense matrix A enjoys a low-rank property, i.e., their off-diagonal blocks have small and nearly bounded (numerical) ranks. For the constant coefficient case, the low-rank property is essentially connected to the properties of the Green functions. We justify such a property for problems with not only constant coefficients, but also variable smooth coefficients and variable coefficients having steep gradients and/or large variations and even degenerate coefficients. This is done for both Fourier– and Chebyshev–Galerkin methods. Algebraic derivations are accompanied by illustrations in terms of some functions which are notoriously difficult to handle with iterative methods. For certain cases (e.g., constant or smooth coefficients), such a low-rank property can be understood based on the fast decay of the matrix entries away from the diago- nal. However, even if the entries decay very slowly or do not decay, such as with steep gradients in the coefficients, we show that the low-rank property still holds. For these cases, a large number of modes are needed toaccurately represent the coefficient. A straightforward truncation of the small matrix entries results in an approximate ma- trix with a large bandwidth and is not very effective. Similarly, the low-rank property is also insensitive to the large ratios in the function values. Here, A can then be approximated by rank-structured matrices, which have al- ready been shown to be very effective in thedirect solutions of large linear systems arising from finite difference, finite element, or boundary element discretizations of differential equations [1, 2, 5, 19, 38, 23] and integral equations [20, 17]. One fre- quently used rank structure is thehierarchically semiseparable(HSS) representation [38, 39, 40, 35]. HSS structures provide an effective and reliable way to quickly handle dense matrices with the low-rank property. The factorization and solution with an Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A30 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA HSS matrix usually cost only aboutO(N)fl o p s . To avoid forming A explicitly, we use an adaptive matrix-free scheme [34] to construct an HSS approximation toA, which is built upon randomized techniques [15, 18, 40]. For a prespecified accuracy, such a construction takes aboutO(rlogN) matrix-vector products, wherer is the maximum off-diagonal (numerical) rank ofA and is small. Since the product of matrixA and a vector in both the Fourier– and the Chebyshev–Galerkin methods can be computed inO(N logN) flops via FFTs, our total HSS construction cost is onlyO(rN log2 N). (Later, we may usenearly O(N) complexity to mean O(N logk N) complexity for a small integerk.) The HSS form can be factorized in aboutO(r2N) flops, and then the linear system solution cost is only O(rN) for each right-hand side. The memory requirement is alsoO(rN). All these counts are roughly linear inN. Our methods are thus very attractive for spectral approximations of problems with variable coefficients, especially whenthe coefficients have steep gradients and/or largevariationsoraredegenerate, and whenonlymatrix-vectorproductsareavailable. The remainder of this paper is organized as follows. In section 2, we construct the detailed matrix forms in Fourier– and Chebyshev–Galerkin methods for elliptic equations with periodic and nonperiodic boundary conditions, respectively. We study in section 3 the low-rank property of the dense matrices obtained in the previous section. In section 4, we present a fast and stable matrix-free direct solver based on HSS construction, factorization, and solution schemes. We illustrate in section 5 the performance of the proposed direct spectral solutions via several examples, which demonstrates high accuracy and efficiency. Section 6 contains the conclusions, gener- alizations, and possible directions for future research. 2. Matrix forms for Fourier– and Chebyshev–Galerkin methods.In or- der to study the hidden low-rank property of the discretized matrices in the Fourier– and Chebyshev–Galerkin methods, we first illustrate the explicit matrix forms in all the intermediate steps, supplementing those given in [25, 26]. This differs from clas- sical spectral methods, which primarily evaluate matrix-vector products and ignore the actual matrix structures. Note that the study of the explicit matrices are only to facilitate our analysis in the next section, and they are not actually formed in the implementation due to the matrix-free direct solver in section 4. Throughout the paper, we employ the following notation: •{x j} denotes some collocation points in an interval in one dimension; •α denotes a vector formed by{α(xj)} for a functionα(x) evaluated at the points xj; •Dα or diag(α) denotes a diagonal matrix with the entries of the vectorα as the diagonal entries; •A|j (or A|j,:)a n dA|:,j denote thejth row and column ofA, respectively, and can be similarly understood whenj is replaced by an index set; •A|j,k denotes the (j,k)e n t r yo fA and can be similarly understood whenj and k are replaced by index sets; •rank(T) denotes the rank of a matrixT. Justifications of the methods in the reviews of this section can be found in [25, 26]. 2.1. Fourier–Galerkin method.We consider the problem (1.1) with periodic boundary conditions: α(x)u−(β(x)ux)x = f(x),x ∈(0,2π),(2.1) u(0) =u(2π),u ′(0) =u′(2π).(2.2) Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A31 Let (2.3) XN = ⎧ ⎨ ⎩v(x)= N/2∑ k=−N/2 ˜vkeikx :˜v−N/2 =˜vN/2 ⎫ ⎬ ⎭, where, for convenience, N i sa s s u m e dt ob ea ne v e nn u m b e r ,a n do d dN can be handled similarly. Let the Fourier collocation points{xj}N−1 j=0 be (2.4) xj = j2π N ,j =0 ,1,...,N −1. We define the interpolation operatorIN : C[0,2π) −→XN such that INu ∈XN :( INu)(xj)= u(xj),j =0 ,1,...,N −1. It is easy to verify that (2.5) ( INu)(x)= N/2∑ k=−N/2 ˜ukeikx, where ˜uk,k = −N 2 ,..., N 2 , are Fourier expansion coefficients that can be obtained from the forwarddiscrete Fourier transform (FDFT). Similarly, the backward discrete Fourier transform (BDFT) can be used to obtainu(xj),j =0 ,1,...,N −1, from ˜uk [26]. We recall that these transforms can be carried out inO(N logN) operations [8] in general. The Fourier–Galerkin method (with numerical integration) for (1.1) is to find uN ∈XN such that (2.6) ⟨α(x)uN,e−ikx⟩N −⟨[β(x)u′ N]′,e−ikx⟩N = ⟨f,e−ikx⟩N,k = −N 2 ,..., N 2 , where the discrete inner product is defined by (2.7) ⟨u,v⟩N = 1 N N−1∑ j=0 u(xj)¯v(xj). It is easy to show that{e−ikx}N/2 k=−N/2 is a set of orthonormal bases in the spaceXN with respect to the inner product (2.7). Suppose u =( u(xj))N−1 j=0 is the vector of function values and˜u =( ˜uk)N/2 k=−N/2 is the vector of the Fourier expansion coefficients. Then the transformations can be done via ˜u = Fu, u = F∗˜u, where the matricesF and F∗represent FDFT and BDFT, respectively. In addition, the coefficients of the expansion of the first derivativeu′(x)a r eg i v e nb y ˜u(1) = ik.∗˜u, where the right-hand side involves a componentwise multiplication, and the vectork is given by k = ( 0,1,..., N 2 ,−N 2 ,−N 2 +1,..., −1 ) . Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A32 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA Hence, the general procedure for solving problem (2.6) in the matrix forms is as follows. 1. Computing the right-hand side.Evaluatef(x)a tt h ep o i n t s{xj}N−1 j=0 in (2.4) to get the vectorf =( f(xj))N−1 j=0 . Use the FFT to obtain the Fourier expan- sion coefficient vector˜f =( ˜fk)N/2 k=−N/2. 2. Solving in frequency space. Let α =( α(xj))N−1 j=0 , β =( β(xj))N−1 j=0 .T h e variational form (2.6) leads to the linear system (2.8) A˜u =˜f,A = FDαF∗+DkFDβF∗Dk. The matrix A is positive definite since α(x),β(x) > 0. Solve this for the vector of unknowns˜u =(˜uk)N/2 k=−N/2 in (2.5). 3. Transforming back to physical space. Obtain the vector of function values u =( u(xj))N−1 j=0 = F∗˜u. The main expense of this procedure is to solve the linear system (2.8) to get˜u. Remark 1. We can also deriveA by representing the multiplication of the Fourier series for the coefficients andu(x) as an operatoron the coefficients. The two matrices in the sum in (2.8) are then approximations of the Fourier multiplication operators. 2.2. Chebyshev–Galerkin method. Next, consider the problem (1.1) with Dirichlet boundary conditions: α(x)u−(β(x)ux)x = f(x),x ∈(−1,1),(2.9) u(−1) =u(1) = 0.(2.10) Denote ω(x)=( 1 −x2)−1/2 and ˜XN = {v ∈PN : v(−1) =v(1) = 0},w h e r ePN is the set of all polynomials of degrees less than or equal toN. Then the Chebyshev– Galerkin method (with numerical integration) is to finduN ∈XN such that (2.11) ⟨αuN,vN⟩N,ω −⟨(βu′ N)′,vN⟩N,ω = ⟨f,vN⟩N,ω ∀vN ∈˜XN, where ⟨·⟩N,ω is the discrete inner product relative to the Chebyshev–Gauss–Lobatto quadrature. Denote φk(x): =Tk(x)−Tk+2(x), where Tk is the Chebyshev polynomial ofdegreek. It is easy to know that the function φk(x) defined here satisfies the boundary condition (2.10). Hence, the space of the basis functions can be chosen as (2.12) XN =s p a n{φk(x)}N−2 k=0 . Suppose the Chebyshev expansion ofu(x) with finitely many terms is u(x)= N∑ n=0 ˜unTn(x)= N−2∑ k=0 ¯ukφk(x). Let ˜u =( ˜un)N n=0 and ¯u =( ¯uk)N−2 k=0 be the column vectors of expansion coefficients. In order to implement (2.11), we need to perform the following tasks. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A33 1. Transforming between the basis functions{φk}N−2 k=0 and the Chebyshev poly- nomials {Tn}N n=0. The transforms between˜u and ¯u can be performed by ˜u = A1¯u with A1 = ⎛ ⎜⎜⎜⎜ ⎜ ⎜ ⎜⎝ 1 0 ... −1 ... 1 ... 0 −1 ⎞ ⎟⎟⎟⎟ ⎟ ⎟ ⎟⎠ (N +1)×(N−1) . 2. Differentiation in spectral space.Recall the differentiation relation of the Chebyshev polynomials (2.13) T′ n(x)=2 n n−1∑ k=0 k+n:o d d 1 ck Tk(x), where c0 =2a n dck =1f o rk ≥1. Suppose u′(x)= ∑N n=0 ˜u′ nTn(x), and let ˜u′ =(˜u′ n)N n=0 be the vector of the expansion coefficients of the first derivative. Following (2.13), we have ˜u′ = A2˜u, with A2 = ⎛ ⎜⎜⎜⎜ ⎜ ⎜ ⎜⎜⎜ ⎜ ⎜ ⎜⎜⎝ 01030 5 ··· 0 0408 0 ··· 2(N +1) 0601 0 ··· 0 08 0 ··· 2(N +1) 01 0 ... 0 ... ... .. . ... 2(N +1) 0 ⎞ ⎟⎟⎟⎟ ⎟ ⎟ ⎟⎟⎟ ⎟ ⎟ ⎟⎟⎠ (N +1)×(N +1) .(2.14) More specifically,A2 has the following form: (2.15) A2|j,j+1:N = ⎧ ⎪⎨ ⎪⎩ (1,0,3,0,5,..., 0),j =1 , 2(j,0,j +2,0,j +4,..., 0),j > 1,j : odd, 2(j,0,j +2,0,...,N +1),j > 1,j :e v e n . 3. Inner product with the basis functions.For the inner product vector of the solution ˆu = {ˆuk}N−2 k=0 ,w h e r eˆuk = ⟨u(x),φk(x)⟩N,ω,w eh a v e ˆu = A3˜u, with A3 = ⎛ ⎜⎜ ⎜⎝ π 0 −π/2 π/20 −π/2 ... ... ... π/20 −π/2 ⎞ ⎟⎟ ⎟⎠ (N−1)×(N +1) . Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A34 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA 4. Forward discrete Chebyshev transform (FDCT) and backward discrete Cheby- shev transform (BDCT). It is well known that the Chebyshev collocation points {xj}N j=0 are (2.16) xj =c o s ( πj N ) ,j =0 ,1,...,N. The transforms between the spectral space ˜u and the physical space u = (u(xj))N j=0 can be performed by (2.17) u = ˜F˜u, ˜u = ˜F∗u, where ˜F and ˜F∗are the FDCT and BDCT matrices, respectively. FDCT and BDCT can be performed withO(N logN) operations via FFTs in general. Hence, a detailed procedure for solving the problem (2.11) in the matrix forms is as follows: 1. Computing the right-hand side.ComputetheFouriercollocationpoints {xj}N j=0 defined in (2.16) and evaluate the right-hand functionf(x)a tt h e s ep o i n t s to get the vectorf =( f(xj))N j=0. Then use FDCT to obtain the Chebyshev expansion coefficients vector˜f =( ˜fn)N n=0. Finally, take the inner product with the basis functions{φk}N−2 k=0 to getˆf = {ˆfk}N−2 k=0 : ˆf = A3 ˜F∗f. 2. Solving in frequency space. Let (INu)(x)= ∑N−2 k=0 ¯ukφk(x), where ¯u = (¯u)N−2 k=0 are the unknowns. Let α =( α(xj))N j=0 and β =( β(xj))N j=0 be the vectors of function values. Then the variational form (2.11) leads to the following linear system: (2.18) A¯u =ˆf,A = A3(˜F−1Dα ˜F −A2 ˜F−1Dβ ˜FA 2)A1, where A is (N−1)×(N−1). Solve this equation for the expansion coefficients ¯u. 3. Transforming back to physical space.Thefunctionv aluev ectoru =( u(xj))N j=0 can be obtained by u = ˜FA 1¯u. In section 4, we will show how to solve (2.18) efficiently to get¯u. 3. Low-rank property for problems with variable coefficients.We seek to quickly solve the systems (2.8) and (2.18) by taking advantage of a hidden low-rank property. That is, we show that the off-diagonal blocks ofA have small numerical ranks for these cases: 1. constant coefficients (included for completeness); 2. smooth variable coefficients; 3. variable coefficients with steep gradients and/or large variations. 3.1. Preliminaries. For notational convenience, we letN be the size ofA (in- stead ofN −1 as in the previous section). For simplicity, we focus on the following type of off-diagonal blocks, as often used in the studies of rank structures [5, 30]. Definition 3.1 ( off-diagonal blocks). Let A be anN ×N matrix. Partition A into the following block2×2 form such that the diagonal blocks are square matrices: A = i N −i ( A 11 A12 A21 A22 ) . Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A35 A12 ≡A|1:i,i+1:N and A21 ≡A|i+1:N,1:i are called the off-diagonal blocks ofA. That is, an off-diagonal block touches but does not include the main diagonal and consists of either the top-right or bottom-left part ofA. We are interested in the numerical ranks of these blocks. The following definition is frequently used by researchers (see, e.g., [39]). Definition 3.2 (numericalranksandlow-rankproperty ). The numerical rank of a matrix is the number of its singular values larger than a given toleranceτ. This can be similarly defined for a relative toleranceτ(relative to the largest singular value). A matrix has the low-rank property if all its off-diagonal blocks have ranks or numerical ranks that are much smaller thanN. (Typically, the ranks are bounded independent of N, or only increase very slowly, such asO(logN).) It is straightforward to show that if two matricesA and B of the same size have the low-rank property with the maximum rank of all the off-diagonal ranks bounded by r,t h e nA+B and AB also have the low-rank property, with the maximum rank of all their off-diagonal ranks bounded by 2r. This will be used often later. In the following subsections, we study the low-rank property of the matricesA in (2.8) and (2.18). 3.2. Low-rank property for constant coefficients.We briefly consider the low-rank property ofA when α(x) ≡α, β(x) ≡βare constants. For the case of the Fourier–Galerkin method, the linear system (2.8) is simply a diagonal system of the equations (3.1) ( α+k 2β)˜uk = ˜fk,k = −N 2 ,..., N 2 . That is,A is a diagonal matrix, and the solution to (2.8) is trivially ˜uk = ˜fk α+k2β,k = −N 2 ,..., N 2 . Next, consider the Chebyshev–Galerkin method. Letαand βbe two nonnegative constants in (2.9). Then the matrixA in (2.18) has the form (3.2) A = A3 ( αI−βA2 2 ) A1 = αA3A1 −βA3A2 2A1, which is dense. Since A1 and A3 are tridiagonal matrices, their off-diagonal ranks are bounded by 1. The matrixA2 is upper triangular and can be shown to have the low-rank property as follows, even though its nonzero entries away from the diagonal do not decay. In fact, according to (2.15), rank(A2|1:j,j+1:N) = 2 for any integerj satisfying 1 ⩽ j ⩽ N. Thus, we can show thatA3A1 and A3A2 2A1 have off-diagonal rank bounds 2 and 6, respectively. The matrixAin (3.2) thus has an off-diagonalrank bound 8. However, we can further improve such a bound by inspecting the actual forms ofA 3A1 and A3A2 2A1. Theorem 3.3. For any integern satisfying 1 ⩽ n ⩽ N, rank(A|1:n,n+1:N) ≤4, rank(A|n+1:N,1:n) ≤4. Proof. The actual forms ofA3A1 and A3A2 2A1 can be found in [24].A3A1 is a banded matrix with its half bandwidth 2,so it has off-diagonal ranks bounded by 2. Any off-diagonal block ofA3A2 2A1 is either a zero block or has the form (A3A2 2A1)|1:j,k = { 4π(0,2,0,4,..., 0,j −1,0)T,k = j +1,j +3,..., 4π(1,0,3,0,...,j −2,0,j)T,k = j +2,j +4,..., Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A36 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA if n is odd, or (A3A2 2A1)|1:j,k = { 4π(1,0,3,0,...,j −1,0)T,k = j +1,j +3,..., 4π(0,2,0,4,..., 0,j)T,k = j +2,j +4,..., if n is even. Thus, we have rank((A3A2 2A1)|1:j,j+1:N) ≤2. The desired result then follows from the addition and multiplication of matrices with the low-rank property. 3.3. Low-rank property for “smooth” variable coefficients: Fourier case. For variable coefficientsα(x)a n dβ(x), the matrixA in (2.8) for the Fourier case is usuallydense. However,we showbelowthat if α(x)a n dβ(x) aresufficiently “smooth” in the sense that they can be approximated by Fourier series with small finite numbers of terms, thenA has the low-rank property. Theorem 3.4. If α(x) can be approximated by anr-term Fourier series within a toleranceτ, then the numerical rank (with respect to the toleranceO(Nτ))o fa n y off-diagonal block of the following matrix is bounded byr: C ≡FD αF∗ (or F∗DαF), where α =( α(xj))N−1 j=0 , Dα = diag(α),a n dF represents the FDFT. Proof. C is a circulant matrix with the first column (3.3) c = F α. Assume c =( c1,...,c N)T.L e t ˆC be a Hermitian circulant matrix with the first column ˆc =( c1,...,c r,0,... 0,cN−r+1,...,c N)T. Clearly, ˆCij can be obtained from C by setting ˆCij =0f o rr< |i−j| <N −r. See Figure 1 for an illustration of the nonzero pattern ofˆC. Clearly, any off-diagonal block ofˆC is zero except for the lower left and the upper right corners, which are twor×r triangular matrices. Thus, (3.4) rank( ˆC|1:n,n+1:N) ≤2r, rank(ˆC|n+1:N,1:n) ≤2r (1 ⩽ n ⩽ N). j+1 : N1 : j 1 : r 1 : r Fig. 1. Nonzero pattern of ˆC. Since α(x) can be approximated by anr-term Fourier serieswithin the tolerance τ,w eh a v e|cj| = O(τ) for anyj>r .T h a ti s , |Cij| = O(τ)f o r r< |i−j| <N −r. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A37 (This canbe understood with the aid of Figure 1, where the entriesofC corresponding to the blank spaces are of magnitudesO(τ).) Thus, the off-diagonal blockC|1:n,n+1:N satisfies ||C|1:n,n+1:N −ˆC|1:n,n+1:N||2 ≤ √ n(N −n)m a x 0<j−i<N−r |Cij|(3.5) ≤N 2 max 0<j−i<N−r |Cij| = O(Nτ). Let σr+1 be the (r + 1)st singular value ofC|1:n,n+1:N (when all its singular values are ordered from the largest to the smallest). It is known that (see, e.g., [10, section 3.2.3], with a trivial extension) σr+1 =m i n rank( ˜C)≤r ||C|1:n,n+1:N −˜C||2. Inequalities (3.4) and (3.5) then mean σr+1 ≤| |C|1:n,n+1:N −ˆC|1:n,n+1:N||2 = O(Nτ). Therefore, the numerical rank ofC|1:n,n+1:N is at mostr with respect to the tolerance O(Nτ). Similarly, the result holds forC|n+1:N,1:n. Note thatC is also the kernel of a discrete integral transform. Thus, the low-rank property is closely related to the idea of the fast multipole method (FMM) [12, 14]. Remark 2. σr+1 is usually much smaller thanO(Nτ) since the bound in (3.5) often overestimates||C|1:n,n+1:N −ˆC|1:n,n+1:N||2. Remark 3. Clearly, the 2-norm condition number ofFDαF∗is (3.6) κ(˜FDα ˜F∗)= κ(Dα)= maxi |α(xi)| mini |α(xi)|, w h e r ew ea s s u m em i ni |α(xi)| ̸= 0. Thus, the ratio of the largest and the smallest valuesin(3.6)measureshowmuch α(x) varies, andalsotheconditioningofthe matrix. If a certainα(xi) is extremely large or small, or ifα(x) varies dramatically, then the condition number in (3.6) is large. This may cause difficulties for iterative methods to converge. On the other hand, Theorem 3.4 indicates that the rank structure is actually a much more robust way of studying the numerical solution. Lemma 3.5. If C has the low-rank property, then so doΛ 1C, CΛ2, Λ1CΛ2,a n d ˆΛ1CˆΛ2,w h e r eΛ1 and Λ2 are diagonal matrices,ˆΛ1 and ˆΛ2 are antidiagonal matrices, and all the matrices areN ×N. Proof. It is straightforward to verify the result for Λ1C, CΛ2,a n dΛ1CΛ2 based on diagonal scaling. ˆΛ1CˆΛ2 can be rewritten as (ˆΛ1Π)(ΠCΠ)(ΠˆΛ2), where Π is the anti-identity matrix,ˆΛ1Πa n dΠˆΛ2 are diagonal matrices, and ΠCΠ has the low-rank property since its off-diagonal blocks are the same as those ofC with appropriate permutations. We are now ready to present the following result. Theorem 3.6. If α(x) and β(x) can be approximated byr-term Fourier series within a tolerance τ, then the numerical rank of the matrixA (with respect to the tolerance O(Nτ))i n(2.8) is of orderO(r). Proof. Theorem 3.4 means thatFDαF∗and FDβF∗have the low-rank property. The conclusion then follows from Lemma 3.5. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A38 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA To illustrate the result of the fundamental Theorem 3.4, let us consider the func- tion (3.7) α1(x)=c o s ( s i nx), which is plotted in Figure 2(i). The functionα1(x) is smooth and is evaluated at the Fourier collocation points{xj}N−1 j=0 defined in (2.4). The decay of the Fourier expansion coefficients can be observedin Figure 2(ii). To check the low-rank property, we plot the singular values for an off-diagonal block (FD α1F∗)|1: N 2 , N 2 +1:N in Figure 2(iii). These singular values also decay quickly. 0 2 4 60.5 0.6 0.7 0.8 0.9 1 x 0 50 100 15010 −16 10 −12 10 −8 10 −4 10 0 10 4 Index 0 50 100 150 10 −16 10 −12 10 −8 10 −4 10 0 Index ( i )P l o to fα1(x) (ii) Entries of |F α1| (iii) Off-diagonal singular values Fig. 2 . Plots of α1(x)=c o s ( s i nx) in (3.7), absolute values of the Fourier coefficientsF α1, and singular values of the off-diagonal block(F Dα1F∗)|1: N 2 , N 2 +1:N,w h e r eN = 320. Moreover, whenN doubles, the numerical rank of (FDα1F∗)|1: N 2 , N 2 +1:N remains small and bounded. Even if we increase the accuracy τfrom 10−6 to 10−12,t h e numerical ranks only increase slightly. See Table 1. This indicates the feasibility of using a rank-structured approximation to solve large problems with high accuracies. Ta b le 1 Numerical ranks of the off-diagonal block(F Dα1F∗)|1: N 2 , N 2 +1:N for α1(x) in (3.7) with differ- ent sizes N and tolerancesτ. N 20 40 80 160 320 640 1280 Numerical rank τ=1 0−6 888 8 8 8 8 τ=1 0−12 10 12 12 12 12 12 12 3.4. Low-rank property for “smooth” variable coefficients: Chebyshev case. Next, we considerA in (2.18) for the Chebyshev case with variable coefficients α(x)a n dβ(x). The matrixA has a form more complicatedthan in the Fourier case. However, we can still show thatA has the low-rank property. This is mainly based on the following result. Here, a function is “smooth” if it can be approximated by a Chebyshev series with a small finite number of terms. Theorem 3.7. If α(x) can be approximated by anr-term Chebyshev series within a toleranceτ, then the numerical rank (with respect to the toleranceO(Nτ))o fa n y off-diagonal block of the following matrix is bounded byO(r): ˜C ≡ ˜FDα ˜F∗ (or ˜F∗Dα ˜F), where α =( α(xj))N j=0, Dα = diag(α),a n d˜F represents the FDCT. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A39 Proof. One way is to use the relationship between the FDCT and the FDFT. In fact, ˜F is real and symmetric. For simplicity, assumeF and ˜F have sizes 2N and N +1, respectively. Clearly, ˜F = A6FA 5, where A5 = ⎛ ⎜⎜ ⎜ ⎜ ⎜ ⎜⎝ diag(1, 1 2,..., 1 2,1)⎛ ⎜⎜ ⎜ ⎜⎝ 01 ... 1 2 ... ... 0 1 2 ⎞ ⎟⎟ ⎟ ⎟⎠ ⎞ ⎟⎟ ⎟ ⎟ ⎟ ⎟⎠ 2N×(N +1) ,A 6 = ( I 0 ) (N +1)×2N . Also let ˆD ≡A5DαAT 5 , ˆC ≡F ˆDF∗. Then (3.8) ˜C = A6 ˆCAT 6 = ˆC|1:N +1,1:N +1. Since diag(1 2,..., 1 2,1) = 1 2(I +diag(0,..., 0,1)), we have ˆD = 1 4 ⎛ ⎝ 4α0 Dα|1:N Dα|1:N JN Dα|N :−1:1JN Dα|N :−1:1 ⎞ ⎠ +E2, where α|N :−1:1 represents α|1:N in its reverse ordering,JN is theN ×N anti-identity matrix, andE2 is an appropriate matrix of rank no more than 2. Let (3.9) H = ( 1 J2N ) ,G = F diag(Dα|0:N,N :−1:1)F∗. Then we can rewriteˆD and ˆC as ˆD = 1 4(diag(Dα|0:N,N :−1:1)+diag( Dα|0:N,N :−1:1)H)+ 1 2 diag(α0,0,..., 0)+ E2 = 1 4(diag(Dα|0:N,N :−1:1)+diag( Dα|0:N,N :−1:1)H)+ E3, ˆC = 1 4(G+F diag(Dα|0:N,N :−1:1)HF∗)+ FE 3F∗, respectively, whereE3 is an appropriate matrix of rank no more than 3. According to the property of the FDFT matrix, HF∗= F∗H. Thus, ˆC = 1 4(G+F diag(Dα|0:N,N :−1:1)F∗H)+ FE 3F∗(3.10) = 1 4(G+GH)+ FE 3F∗. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A40 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA Since α(x) can be approximated by anr-term Chebyshev series inx within a tolerance τ, it can also be approximated by anO(r)-term Fourier series inθ(with the changeofvariable x =c o sθ) within a toleranceO(τ). Thus, Theorem 3.4 applied toG in (3.9) yields the off-diagonal low-rank property ofG. The leading (N +1) ×(N+1) diagonal block ofGH looks like (GH)|1:N +1,1:N +1 = G|1:N +1,1:N +1H|1:N +1,1:N +1(3.11) +G|1:N +1,N +2:2NH|N +2:2N,1:N +1. Since H|1:N +1,1:N +1 has only one nonzero entry as in (3.9), the first term on the right- hand side of (3.11) has rank 1. SinceG|1:N +1,N +2:2N has numerical rank (with respect to the toleranceO(Nτ)) bounded byO(r), so does the second term on the right-hand side of (3.11). Therefore, the numerical rank of (GH)|1:N +1,1:N +1 is bounded byO(r). According to (3.8) and (3.10), the numerical rank of˜C is bounded byO(r). Therefore, the following result on the low-rank property ofA can be naturally obtained based on Theorem 3.7. Theorem 3.8. If α(x) and β(x) can be approximated by anr-term Chebyshev series within a tolerance τ, then the numerical rank (with respect to the tolerance O(Nτ)) of any off-diagonal block of the matrixA in (2.18) is bounded byO(r). Remark 4. Although the results in Theorems 3.4 and 3.7 can be understood based on the fast decay in the entries ofC and ˜C away from the diagonal, respectively, this may not be the case for the entries ofA in the above theorem. In fact, forA in the Chebyshev case (2.18), the entries away from the diagonal barely decay. We can similarly illustrate the low-rank property of˜FDα ˜F∗. For example, for α2(x)=e x, the off-diagonal numerical ranks withτ=1 0−6 and 10−12 are bounded by 3 and 5, respectively, forN up to 1280, and they stay almost the same whenN increases. This indicates the robustness of the rank structure with respect to bothτand N. 3.5. Low-rank property for variable coefficients with steep gradients. The results in the previous subsections indicate the existence of the low-rank property in problems with constant or smooth coefficients. In particular, as pointed out in Remark 4, the smoothness of α(x) leads to the fast decay of the entries of C in Theorem 3.4 and˜C in Theorem 3.7 away from the diagonal. However, we emphasize that the decay in the entries isonly sufficient but not necessaryfor our structured solver to work, which just requires the low-rank property. (A2 in (2.14) is such an example with no decay away from the diagonal.) In fact, if the variable coefficientα(x) has steep gradients and the assumptions in Theorems 3.4 and 3.7 are not satisfied, such a decay is usually very slow. However, the low-rank property still holds ifα(x) can be split into the sum of a smooth piece αs(x) and a residual pieceαr(x): (3.12) α(x)= αs(x)+ αr(x), with αr(x) being essentially zero except in a finite number of small intervals where the function exhibits steep gradients (see, e.g., Figure 3(i)). Tofix the idea, weconsiderbelowthe Fouriercase, althoughthe argumentalsoap- plies to the Chebyshev case. Since the off-diagonal numerical rank bound ofFDαsF∗ is small, we only have to show that the off-diagonal numerical rank bound ofFDαrF∗ Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A41 −1 −0.5 0 0.5 1 0 0.2 0.4 0.6 0.8 1 x 0 200 400 600 800 1000 1200 10 −20 10 −15 10 −10 10 −5 10 0 Index 0 50 100 150 200 10 −15 10 −10 10 −5 10 0 Index (i) Plot ofα3(x) (ii) Entries of |˜F α3| (iii) Off-diagonal singular values Fig. 3. Plots ofα3(x)= 1 1000x2 +1, absolute values of the Chebyshev coefficients˜F α3,a n dt h e first200 singular values of the off-diagonal block(˜F Dα3 ˜F∗)|1: N 2 , N 2 +1:N,w h e r eN = 1280. is also small. Intuitively, the low-rank property ofFDαrF∗ can be understood as follows. Suppose αr(x) has localized steep gradients in small subintervals (aj,bj)o f width O(ϵ), j =1 ,...,r 1.L e tN be the number of Fourier-collocation points, hence the size of the matrixFDαrF∗, such that (3.13) ∥αr −INαr∥L∞ ≤τ, where INαr is the Fourier interpolation ofαr,a n dτis a given accuracy. It is clear that thisN is also the approximate number of Fourier coefficients needed for theN- term truncated Fourier series to have error bounded byτ(see, e.g., Figure 3(ii)). It is well known that one only needs to have a fixed number (r2) of Fourier-collocation points within each (ai,bi) to fully resolve the steep gradient. Hence, the total number of nonzero values ofINαr at theseN collocation points is bounded byr1r2,a n dt h e total number of collocation points needed for (3.13) in the whole interval [0,2π)i s N = O( 2π ϵ ), which is very big for smallϵ. Thus, the off-diagonal numerical rank of FDαrF∗is bounded byr1r2 (see, e.g., Figure 3(iii)), which is much smaller thanN and is independent ofτ. In fact, we observe from Table 2 that, for the functionsαi(x) (i =3 ,4,5) plotted in Figures 3–5, the off-diagonal numerical ranks of these matrices do not increase withN. To illustrate the low-rank property with steep gradients, we look at the following examples: α3(x)= 1 1000x2 +1 ,x ∈(−1,1), α4(x)= 1 1000(x−0.5)2 +1 + 1 1000x2 +1 + 1 1000(x+0.5)2 +1 ,x ∈(−1,1), α5(x)= −1 2 (tanh(100·(2x−3π))+tanh( −100·(2x−π))),x ∈(0,2π). Note thatα3 and α4 are not periodic butα5 can essentially be considered as periodic. Hence, we consider the Chebyshev approximations to the functionsα3(x)a n dα4(x), and the Fourier approximation to the function α5(x). We demonstrate the rank structure of the matrices˜FDα3 ˜F∗, ˜FDα4 ˜F∗,a n dFDα5F∗. We observe from Figures 3–5 and Table 2 that the Chebyshev/Fourier expansion coefficients of these functions decay very slowly, but the off-diagonal singular values of these matrices decay quickly, indicating the low-rank property for all the cases. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A42 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA Ta b le 2 Numerical ranks of the off-diagonal block (˜F Dαi ˜F∗)|1: N 2 , N 2 +1:N for αi(x),i =3 ,4,a n d (F Dα5F∗)|1: N 2 , N 2 +1:N with different sizesN and tolerancesτ. N 80 160 320 640 1280 2560 5120 10240 Numerical rank (withα3(x)) τ=1 0−6 2 222 2 2 2 2 τ=1 0−12 2 222 2 2 2 3 Numerical rank (withα4(x)) τ=1 0−6 6 666 6 6 6 6 τ=1 0−12 6 666 6 6 6 6 Numerical rank (withα5(x)) τ=1 0−6 20 24 28 30 32 32 32 32 τ=1 0−12 30 38 46 54 56 56 56 56 −1 −0.5 0 0.5 1 0 0.2 0.4 0.6 0.8 1 x 0 200 400 600 800 1000 1200 10 −15 10 −10 10 −5 10 0 Index 0 50 100 150 200 10 −15 10 −10 10 −5 10 0 Index (i) Plot ofα4(x) (ii) Entries of |˜F α4| (iii) Off-diagonal singular values Fig. 4 . Plots of ˜α4(x)= 1 1000(x−0.5)2 +1 + 1 1000x2 +1 + 1 1000(x+0.5)2 +1, absolute values of the Chebyshev coefficients ˜F α4,a n dt h efi r s t200 singular values of the off-diagonal block (˜F Dα4 ˜F∗)|1: N 2 , N 2 +1:N,w h e r eN = 1280. 0 2 4 6 0 0.2 0.4 0.6 0.8 1 x 0 1000 2000 3000 4000 5000 10 −15 10 −10 10 −5 10 0 10 5 Index 0 50 100 150 200 250 300 10 −15 10 −10 10 −5 10 0 Index (i) Plot ofα5(x) (ii) Entries of |F α5| (iii) Off-diagonal singular values Fig. 5 . Plots of α5(x)= − 1 2 (tanh(100 ·(2x −3π)) + tanh(−100 ·(2x −π))), absolute val- ues of the Fourier coefficients F α5,a n dt h efi r s t300 singular values of the off-diagonal block (F Dα5F∗)|1: N 2 , N 2 +1:N,w h e r eN = 10240. 4. HSS structure and matrix-free direct HSS solver.To take advantage of the low-rank property of the coefficient matricesA in the linear systems (2.8) and (2.18), we employ the HSS structure [6, 39] and a matrix-free direct HSS solver [34]. The solver uses some adaptive randomized sampling techniques [15, 33, 40], so that only matrix-vector products are needed to construct an HSS approximation toA, which is then used for the fast solution. These are briefly reviewed in this section. 4.1. HSS representation. IntheHSS representationforan N×N densematrix A, its off-diagonal blocks are hierarchically represented or approximated by low-rank Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A43 forms. For example, a two-level HSS form looks like A = ( D3 U3B3VT 6 U6B6VT 3 D6 ) , where D3 = ( D1 U1B1VT 2 U2B2VT 1 D2 ) ,D 6 = ( D4 U4B4VT 5 U5B5VT 4 D5 ) , U3 = ( U1R1 U2R2 ) ,V 3 = ( V1W1 V2W2 ) ,U 6 = ( U4R4 U5R5 ) ,V 6 = ( V4W4 V5W5 ) . This can be conveniently understood with the aid of a postordered full binary tree T called an HSS tree, i.e., a two-level treeT defined with its bottom or first level nodes labeled 1,2,4,5 and second level nodes 3,6 (see Figure 6). Then each nodej is associated with the matricesDj,Uj,Rj, etc. (called HSS generators). Thus, the generators define a data-sparse representation ofA. B3 B6 3 6 7 B1 B21 U2, V2U1, V1 B4 B5 U5, V5U4, V4 D1 D2 D4 D5 2 4 5 level 0 level 1 level 2 R1, W1 R2, W2 R4, W4 R5, W5 Fig. 6. An HSS tree example. Later, for the coefficient matrices A that we consider, we do not distinguish between the original matrix and its HSS approximation. Remark 5. In section 3, the off-diagonal blocksA|1:i,i+1:N are inspected (see Def- inition 3.1). Notice that this is done for alli =1 ,2,...,N . These off-diagonal blocks have overlaps, and their rank structures have internal correlations or dependencies. The HSS representation provides a natural way to describe such dependencies. It has been well studied that ifA|1:i,i+1:N, i =1 ,2,...,N , are (numerically) low-rank, then A can be represented (or approximated) by an HSS form [6, 35, 39]. In fact, the size of theBj generators reflects the rank of a certain off-diagonal blockA|1:i,i+1:N corresponding to nodej and its sibling. Thus, the low-rank property in section 3 is sufficient to justify the use of HSS approximations here. 4.2. Matrix-free HSS construction. To construct an HSS approximation to ad e n s em a t r i xA with the low-rank property, traditional methods use the explicit compression of the HSS blocks [39]. Here, since we can quickly compute the product of Aand A ∗with vectors, we employ a matrix-freeHSS construction method proposed in [34]. First, we recall that matrix-vector products for the Fourier case (2.8) and the Chebyshev case (2.18) can generally be computed inO(N logN)fl o p su s i n gt h eD F T and the DCT. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A44 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA Second, foralow-rankblockΦ, ifwecanquicklycomputeits productwith vectors, then randomizedsampling [15, 18,40] canbe usedto compressΦ into a low-rankform. In particular, an adaptive randomized strategy in [15, 34] is employed here. The basic idea is to convert the compression of Φ into that ofY ≡ΦX,w h e r eX is a skinny random matrix. Then Y is used to extract a basis matrix for the column space of Φ. The number of random vectors inX is adaptively decided according to a desired accuracy τ. Finally, the fast matrix-vectormultiplication forAcan be combined with adaptive randomizedsamplingtoquickly constructanHSSapproximation. Forthe off-diagonal blocks Φ at each level of the hierarchical partition ofA, a small number of multipli- cations of A and A ∗ with random vectors are used toextract the column and row bases of Φ, respectively. This provides the HSS generators after all theO(logN) levels are done. When all the off-diagonal blocks are approximated, one more level of matrix-vector products can be used to approximate the diagonal blocks ofA. Assume r is the largest (numerical) rank of all the off-diagonal blocks ofA;t h e n the overall cost of this construction isO(rN log2 N) and the storage required for the HSS form isO(rN). In this paper, r is dynamically computed for a given relative tolerance τin the adaptive randomized sampling. 4.3. HSS factorization and solution.After the HSS form is obtained, a fast ULV-type factorization method in [40] (a modified version of [6]) can be used to quickly factorize the matrix. We briefly describe the primary steps of the factorization as follows: 1. Introducing zeros into an off-diagonal block row by QR factorizing its column basis. 2. Partially eliminating the diagonal block. 3. Merging the remaining blocks with those resulting from the step associated with the sibling node of the HSS tree. 4. Forming a smaller HSS matrix with the remaining blocks, and repeat. The factorization costsO(r 2N) flops. Then the solution stage for (2.8) and (2.18) costs O(rN) flops. As discussed in the previous section,r is nearly a constant for the approximation toleranceO(Nτ). Therefore, the overall matrix-free HSS solver costs roughly O(N) flops. Similarly, the total memory requirement is aboutO(N). 5. Numerical results. In this section, we present some numerical experiments to illustrate the efficiency and the accuracy of our fast structured direct spectral methods. We test some important classes of coefficient functions, especially problems withsteepgradientsand/orhighvariations , and with evendegeneratecoefficients. For each case, a largeN is required to resolve the problem, due to the “singularities” in the numericalsolutions. The code is in MATLAB andis also comparedwith backslash (the MATLAB backslashfunction). All the tests are carriedout on a Thinkpad T430s laptop with 4GB RAM and an Intel i7 core at 2.9GHz. For convenience, we use the following notation in the experiments: •N means the size of the linear system; •κmeans the 2-norm condition number of the matrix; •e = ∥˜u−u∥2 ∥u∥2 is the relative error of the numerical solution˜u when the analyt- ical solution is available; •r = ∥A˜u−b∥2 ∥b∥2 is the relative residual of the linear system, i.e., (2.8) or (2.18); r (original)and r (nit) mean the residual before and afternit steps of iterative refinement; Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A45 •in our fast structured direct spectral methods,nmv is the number of matrix- vector products used in the matrix-free HSS construction, and timef is the time of the matrix factorization; Example 1. We first solve a problem with square-wave coefficients and periodic boundary conditions via the fast structured Fourier–Galerkin method. Consider the problem (2.1)–(2.2) with α(x)=c o s ( s i n (x)),β(x)= −1 2 (tanh(γ(2x−3π))+tanh( −γ(2x−π))),f (x)= K, where γand K are constants. As shown in Figure 3,β(x) is a “square-wave”-like function, which leads to two “cusp points” in the solution (see, e.g., Figures 7(i) and 8 below). The problem is ill conditioned, so that iterative methods have difficulty converging even for small N. Finding an effective preconditioner is not simple either, especially sinceA is not explicitly formed. To see the complexity of the fast structured method clearly, we show the factor- ization and solution flops in Figure 7(i).τ=1 0−7 is used here (and also in the later examples). The results roughly follow theO(N) complexity line. 0 2 4 61 1.2 1.4 1.6 1.8 x u(x) 10 3 10 4 10 5 10 6 10 7 10 8 10 9 10 10 10 11 N Flops Factorization Solution O(N) reference line (ii) Numerical solution (based onN = 5120) (i) Factorization and solution complexity Fig. 7. Example 1: Performance of the fast structured solver forγ=1 0. Additional results are reported in Table 3, including the condition numbers of the matrices, the numbernmv of matrix-vector products needed by the fast solver to construct the HSS approximations, and the accuracies. When N doubles, nmv increases slowly, which is consistentwith the discussions in section 4.2. The fast solver produces approximate solutions with reasonable accuracies, followed by a few steps of iterative refinement to reach high accuracies. Later, we only show the accuracies after iterative refinement. We would also like to mention that it is impractical to use regular dense direct solvers, which cost O(N 3) flops to factorize the matrix withO(N 2) storage. We compare the CPU time of our fast structured solver and the MATLAB backslash in Table 4. For smaller problem sizes, we run the tests 10 times and report the aver- age HSS construction, factorization, and solution time. Similarly, for the MATLAB backslash, we measure the average time for forming the dense matrix, computing the LU factorization, and performing the triangular solution. It can be observed that the time of the fast structured solver scales roughly linearly inN, while the MAT- LAB backslash quickly becomes much slower, although the latter is highly optimized. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A46 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA Ta b le 3 Example 1: nmv and accuracies of the fast structured solver, whereγ=1 0. Nκ nmv r (original) r (nit) 320 4 .28e4 308 3 .51e-9 1 .07e-14 (2) 640 1 .73e5 544 1 .35e-8 2 .48e-14 (2) 1280 6 .97e5 544 1 .65e-8 5 .10e-14 (2) 2560 2 .79e6 416 3 .38e-7 9 .76e-14 (3) 5120 1 .12e7 520 7 .19e-7 2 .12e-13 (3) 10240 660 6 .95e-6 3 .47e-13 (4) 20480 880 1 .28e-5 7 .73e-11 (5) Ta b le 4 Example 1: Comparison of the time (in seconds) between our fast structured solver and MAT- LAB backslash, whereγ=1 0. N Fast structured MATLAB backslash HSS construction Factorization Solution Matrix formation Factorization Solution 320 0.230 0 .027 0 .006 0.047 0 .009 0 .001 640 0.527 0 .089 0 .014 0.359 0 .045 0 .004 1280 0.806 0 .180 0 .018 3.023 0 .302 0 .016 2560 2.156 0 .472 0 .039 22.488 2 .183 0 .063 5120 5.349 1 .179 0 .089 178.622 15 .952 0 .247 10240 8.918 2 .666 0 .154 4806.939 244 .303 1 .807 Ta b le 5 Example 1: Numerical results of the fast structured solver for the extreme caseγ= 100. Nκ nmv Timef r (nit) 2560 3 .02e6 700 0 .69 3 .23e-13 (4) 5120 1 .21e7 980 1 .78 7 .28e-13 (5) 10240 1020 6 .95 3 .00e-11 (5) 20480 1080 17 .90 2 .55e-09 (6) We note that forming and storing the dense matrix in dense direct solvers has other serious drawbacks, which are avoided in our structured direct solver. Furthermore, we consider the extreme caseγ= 100 corresponding to Figure 3. The efficiency and the accuracy of our method are shown in Table 5. The numerical solution is illustrated in Figure 8, which has two steep thin interior layers near the points x = π/2a n dx =3 π/2. In addition, since our method is a directsolver, the HSS construction, factor- ization, and solution costs are independent of the right-hand side. The iterative refinement step may depend on the right-hand side. However, the total number of refinement steps is very small for either a constant right-hand side or a random one, and the difference is nearly negligible. Example2. Next, we apply the fast structured Chebyshev–Galerkinmethod to the problem (2.9)–(2.10) with delta-like coefficients and Dirichlet boundary conditions, where α(x)=e x,β (x)= 1 ax2 +1 , f(x)=1 . Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A47 1.53 1.54 1.55 1.561 1.2 1.4 1.6 1.8 2 x u(x) 0 2 4 61 1.2 1.4 1.6 1.8 2 x u(x) 4.72 4.73 4.74 4.751 1.2 1.4 1.6 1.8 2 x u(x) ( i )Z o o m e di nn e a rπ/2 (ii) Overall solution (iii) Zoomed in near 3 π/2 Fig. 8. Example 1: Numerical solution of the fast solver for the extreme caseγ= 100,w h e r e N = 10240. −1 −0.5 0 0.5 1 0 0.2 0.4 0.6 0.8 1 x β(x) a = 1 a = 10 a = 100 a = 1000 Fig. 9. Example 2: The coefficient functionβ(x) for various a. The shape ofβ(x) for largea is similar to the delta function. See Figure 9 for various a.W h e na is large, iterative methods can barely converge. For example, for a = 1000, CG fails to converge even for small problems. In fact, even if we somehow manage to extract the Jacobi preconditioner (which may not be practical due to the unavailability ofA), the accuracy of CG is still very low. On the other hand, our structured solver obtains an accurate solution (Figure 10(i)) with nearly linear complexity (Figure 10(ii)). The results such asnmv and the accuracies are shown in Table 6, which illustrates the significant advantages of our solver. Furthermore, we consider the extreme casea =1 0 10.F o rN = 5120, A has condition number 9.3 × 1010 and is severely ill conditioned. However, it only takes nmv = 308 steps to construct an HSS approximation with a small numerical rank. The HSS form is used to solve theproblem to reach an accuracy ofr =6 .27×10−12 after a few steps of iterative refinements. See Figure 11 for the numerical solution, which has steep thin layers near the two endpointsx = ±1. Example 3. Next, we consider the following problem with degenerate coefficients Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A48 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA −1 −0.5 0 0.5 10 1 1.5 2 2.5 x u(x) 10 3 10 4 10 5 10 6 10 7 10 8 10 9 10 10 N Flops Factorization Solution O(N) reference line (i) Numerical solution (based onN = 2560) (ii) Factorization and solution complexity Fig. 10. Example 2: Performance of the fast structured solver fora = 1000. Ta b le 6 Example 2: Numerical results of the fast structured solver fora = 1000. Nκ nmv Timef r (nit) 320 9 .18e5 168 0 .02 3.87e-14 (4) 640 4 .19e6 168 0 .01 9.19e-14 (3) 1280 1 .82e7 187 0 .03 1.71e-13 (2) 2560 7 .70e7 165 0 .07 5.97e-13 (4) 5120 3 .19e8 200 0 .18 1.21e-12 (3) 10240 240 0 .37 2.23e-12 (4) and Neumann boundary conditions: exu−(sin2(2πx)ux)x =1 ,x ∈(−1,1), u′(−1) =u′(1) = 0. The general procedure of our fast structured Chebyshev–Galerkin method for solving the problem is the same as what has been shown in section 2.2, except that the basis functions should be chosen as follows due to the Neumann boundary conditions: ψk(x)= Tk(x)− ( k k +2 ) 2 Tk+2(x). The coefficientβ(x)=s i n2(2πx) degenerates at multiple points. See Figure 12, which leads to the “jumps” in the solution (see, e.g., Figure 13(i)). We observe that the solution has many interior layers located at the zeros ofβ(x). Such a scenario can happen, for example, for problems with internal layers and for Cahn–Hilliard equa- tions with concentration-dependent mobility. In this case, the ratio of the maximum value to the minimum is infinity. Iterative methods such as CG (with possibly the Jacobi preconditioner) fail to converge. Fortunately, the corresponding system matrix still has the low-rank property and can be solved efficiently by our fast structured method. We achieved both high ac- curacies and nearly linear complexity just like in the previous examples for such a difficult problem. See Figure 13 and Table 7 for the detailed reports. Example 4. Finally, we consider a problem where the analytical solution is known. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A49 −1 −0.9998 −0.99960 0.5 1 1.5 2 2.5 x −1 −0.5 0 0.5 10 0.5 1 1.5 2 2.5 x 0.9996 0.9998 10 0.5 1 1.5 2 2.5 x ( i )Z o o m e di nn e a r−1 (ii) Overall solution (iii) Zoomed in near 1 Fig. 11. Example 2: Numerical solution of the fast solver for the extreme casea =1 010,w h e r e N = 5120. −1 −0.5 0 0.5 10 0.2 0.4 0.6 0.8 1 x β(x) Fig. 12. Example 3: The coefficient functionβ(x). −1 −0.5 0 0.5 10 0.5 1 1.5 2 2.5 x u(x) 10 3 10 4 10 5 10 6 10 7 10 8 10 9 10 10 10 11 N Flops Factorization Solution O(N) reference line (i) Numerical solution (based onN = 2560) (ii) Factorization and solution complexity Fig. 13. Example 3: Performance of CG and complexity of our fast structured solver. We solve the problem (2.1)–(2.2) with α(x)= β(x)=c o s ( s i n (x)), Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A50 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA Ta b le 7 Example 3: Numerical results of the fast structured solver. Nκ nmv Timef r (nit) 320 1 .46e07 264 0 .01 4.28e-13 (2) 640 2 .40e08 352 0 .03 1.94e-12 (2) 1280 3 .92e09 440 0 .09 1.01e-11 (2) 2560 6 .38e10 440 0 .18 5.19e-11 (2) 5120 1 .04e12 460 0 .37 3.27e-10 (3) 10240 460 0 .75 6.45e-10 (4) Ta b le 8 Example 4: Performance of the structured solver. N nmv Original accuracy After iterative refinement Time (s) er nit er 80 68 5.80e+00 1 .79e-08 25 .80e+00 2 .11e-17 2.09e-02 160 92 8.44e-04 3 .07e-10 28 .44e-04 2 .10e-17 3.84e-02 320 100 1.39e-07 6 .92e-09 27 .42e-14 1 .35e-16 1.08e-01 640 120 4.90e-08 6 .52e-09 29 .00e-15 1 .84e-17 1.86e-01 1280 140 1.24e-07 9 .41e-09 21 .38e-14 9 .70e-17 4.28e-01 (i) k =1 0 N nmv Original accuracy After iterative refinement Time (s) er nit er 160 104 5.80e+02 1 .37e-09 15 .80e+02 6 .90e-17 3.69e-02 320 132 4.65e+00 6 .23e-11 24 .65e+00 5 .20e-17 8.87e-02 640 120 7.21e-03 6 .28e-11 27 .21e-03 2 .62e-17 1.87e-01 1280 140 7.13e-07 1 .02e-10 27 .04e-07 5 .99e-17 4.32e-01 2560 160 4.00e-08 3 .01e-11 24 .16e-12 3 .34e-17 9.77e-01 (ii) k = 100 and f(x) is chosen such that the exact solution is u(x)=e 1+sin(kx), where k is an integer. Fork = 10and100,thenumericalresultsareshowninTable8. When N increases, the relative error and the residual approach the desired accuracy. The performance of the solver in terms of the efficiency is similar to that in the previous examples. Note that fork = 100, the solution is highly oscillatory. However, the method can still achieve high accuracy for reasonably largeN.A s N increases, the relative error e decays exponentially. The computation time is only slightly larger than that for k = 10. Remark 6. The amplification of the HSS approximation error by the condition number may affect the accuracy. In fact, even standard direct solvers have similar amplification (of the numerical errors) by the condition number. In the field of direct solutions, such amplification isusually acceptable in practice. 6. Concluding remarks. We developedfast structureddirectspectralGalerkin methods for one-dimensionaldifferential equations with variablecoefficients. First, we gave systematic analysis of a low-rank property in Fourier- and Chebyshev-spectral methods. Then we presented a fast matrix-free algorithm based on HSS structures Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A51 and randomized sampling for the solutions of the linear systems arising from spectral discretizations. The solvertypicallyachievesanasymptoticcomputationalcomplexity of about O(N). The key to the success of the methods lies in two ingredients: (i) the low-rank property of the underlying matrices, and (ii) the fast matrix-free HSS construction based on matrix-vector products. Both the theory and the numerical experiments support our claims regarding the accuracy and efficiency of our method. We observe that the proofs are purely algebraic and do not depend on the el- lipticity. Hence, the method is expected to be applicable to some other types of differential equations with variable coefficients in one dimension. Examples include u t = −(a(x)ux)x+F(u)a n d−(a(x)ux)x +F(u)=0 ,w h e r eF(u) is a certain function that may be nonlinear inu. In such cases, the approximation of the resulting dis- cretized matrix involves the sum of HSS matrices and narrow-banded matrices (with possible diagonal scaling). Moreover, the method is particularly effective for prob- lems with steep gradients and/or large variations, and even problems with degenerate coefficients. This methodology can be potentially extended to the following cases: •Initial-boundary-value problems. After implicit or semi-implicit methods for temporal discretizations, time-dependent evolution equations, such as the heat equation, the Burgers equation, and Navier–Stokes equations, would become elliptic equations about spatial variables like (1.1) at each time step. In addition, since the number of time steps is usually very large, a large num- ber of solutions to a linear system like (2.8) or (2.18) with the same coefficient matrix but different right-hand sides are required. In such situations, the fast direct solver shown in section 4 is muchmore efficient than iterative solvers. •High-order equations and coupled systems of second-order equations.Combin- ing the fast structured solver proposed here with the diagonalization method shown in [7], one can likely construct fast direct spectral Galerkin solvers for higher order problems, such as biharmonic equations, Cahn–Hilliard systems, and plate blending problems of elasticity. We restricted our attention to the spectral Galerkin method for one-dimensional problems with rigorous analysis and ample numerical examples. Actually, the theo- retical and numerical frameworks presented in this paper are essential for extension to multidimensional problems and spectral collocation methods. We are currently working on the following situations: •Tensor-product-based spectral methods. For separable equations in multi- dimensions, the solution process can be reduced to solving a sequence of one-dimensional problems [24, 26]. Here the bottleneck is the HSS eigenvalue decomposition and eigenmatrix-vector multiplication along each direction. For certain cases, we can use the recent superfast HSS eigensolver given in [31]. Based on the tensor products and the HSS eigenvalue decomposition along each direction, we can find a structured eigenvalue decomposition of the overall discretized matrix. The eigenmatrix is in a structured form and can be applied to a vector in nearly linear complexity. This leads to the solution of the overall problem in nearly linear complexity. •Multilayer structured solvers for multidimensional problems. For two- and three-dimensional problems, a simple HSS structure is generallynot practical. Recently, amultilayerstructurewasdesignedin[37]. Thatis, ifthediscretized matrix is approximated by an outer (noncompact) HSS form, its generators are further structured. This leads to a multilayer structured form that can be quickly factorized. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A52 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA •Sparse spectral methods for higher-dimensional problems.Shen and coauthors proposed sparse spectral methods for some higher-dimensional problems, where the appropriate intermediate dense submatrices also enjoy the low- rank property [27, 28, 29]. It is hopeful that the fast direct solver based on rank-structured matrices could be generalized to these higher-dimensional cases. •Fast structured spectral collocation methods.Although the differential matri- ces in spectral collocation methods aretotally dense, they are numerically observed to also enjoy the low-rank property, fortunately. This indicates that we can first construct the HSS approximation to the differential matrices and store them in advance, and then the linear systems resulting from collocation discretization of differential equations could be solved quickly. Our preliminary results indicate that it is, in principle, possible to extend our structured solvers to these situations, although their efficient implementations are by no means trivial. Finally, we would like to mention an interesting solver proposed in [21] very re- cently. Their strategy is based on a totally different approach—the tau-formulation— and on an essential assumption that the variable coefficients can be accurately ap- proximated by low-order polynomials. The decay of the entries would yield a solver with O(m 2N) complexity, wherem is the number of Chebyshev coefficients needed to resolve the variable coefficients. For smooth coefficients,m is very small, and a straightforward truncation to a banded approximation is much simpler than the con- struction of structured approximations. However, for coefficients with steep gradients, a largem is needed. Our direct solver yields nearly linear computational complexity independent of suchm and does not assume or rely on any fast decay of the entries of A in (2.8) or (2.18). More specifically, our complexity isO(rN log2 N)+ O(r2N), where r is small even for coefficients with steep gradients or variations. Note that the cost O(rN log2 N) is for the matrix-free HSS construction. (In contrast, the solver in [21] for smooth coefficients forms the entries ofA explicitly and then truncates.) Our matrix-free construction aims at more general cases (especially with steep gradients or variations in the coefficients) so that we do not need to explicitly form the matrix entries. Acknowledgments. We thank Yuanzhe Xi for his help with the numerical tests. We also thank the anonymous referees for valuable comments and suggestions which led to a significant improvement of the presentation. REFERENCES [1] M. Bebendorf, Efficient inversion of Galerkin matrices of general second-order elliptic dif- ferential operators with nonsmooth coefficients, Math. Comp., 74 (2005), pp. 1179–1199. [2] M. Bebendorf and W. Hackbusch , Existence of H -matrix approximants to the inverse FE- matrix of elliptic operators withL∞ coefficients, Numer. Math., 95 (2003), pp. 1–28. [3] C. Canuto, M. Y. Hussaini, A. Quarteroni, and T. A. Zang , Spectral Methods: Funda- mentals in Single Domains, Springer-Verlag, Berlin, Heidelberg, 2006. [4] C. Canuto and A. Quarteroni , Preconditioner minimal residual methods for Chebyshev spectral calculations, J. Comput. Phys., 60 (1985), pp. 315–337. [5] S. Chandrasekaran, P. Dewilde, M. Gu, and N. Somasunderam , On the numerical rank of the off-diagonal blocks of Schur complements of discretized elliptic PDEs,S I A MJ .M a t r i x Anal. Appl., 31 (2010), pp. 2261–2290. [6] S. Chandrasekaran, M. Gu, and T. P als , A fast ULV decomposition solver for hierarchically semiseparable representations, SIAM J. Matrix Anal. Appl., 28 (2006), pp. 603–622. [7] F. Chen and J. Shen , Efficient spectral-Galerkin methods for systems of coupled second-order Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. FAST STRUCTURED DIRECT SPECTRAL METHODS A53 equations and their applications, J. Comput. Phys., 231 (2012), pp. 5016–5028. [8] J. W. Cooley and J. W. Tukey , An algorithm for the machine calculation of complex Fourier series, Math. Comp., 19 (1965), pp. 297–301. [9] E. A. Coutsias, T. Hagstrom, J. S. Hesthaven, and D. Torres , Integration preconditioners for differential operators in spectralτ-methods, in Proceedings of the Third International Conference on Spectral and High Order Methods, Houston, TX, 1996, pp. 21–38. [10] J. W. Demmel , Applied Numerical Linear Algebra, SIAM, Philadelphia, PA, 1997. [11] M. O. Deville and E. H. Mund , Chebyshev pseudospectral solution of second-order elliptic equations with finite element preconditioning, J. Comput. Phys., 60 (1985), pp. 517–533. [12] A. Dutt and V. Rokhlin , Fast Fourier transforms for nonequispaced data,S I A MJ .S c i . Comput., 14 (1993), pp. 1368–1393. [13] D. Gottlieb and S. A. Orszag , Numerical Analysis of Spectral Methods: Theory and Appli- cations, CBMS-NSF Regional Conf. Ser. in Appl. Math. 26, SIAM, Philadelphia, 1977. [14] L. Greengard and V. Rokhlin , A fast algorithm for particle simulations,J .C o m p u t .P h y s . , 73 (1987), pp. 325–348. [15] N. Halko, P. G. Martinsson, and J. A. Tropp , Finding structure with randomness: Prob- abilistic algorithms for constructing approximate matrix decompositions,S I A MR e v . ,5 3 (2011), pp. 217–288. [16] S. D. Kim and S. V. P arter, Preconditioning Chebyshev spectral collocation method for elliptic partial differential equations, SIAM J. Numer. Anal., 33 (1996), pp. 2375–2400. [17] W. Y. Kong, J. Bremerb, and V. Rokhlin , An adaptive fast direct solver for boundary integral equations in two dimensions, Appl. Comput. Harmon. Anal., 231 (2011), pp. 346– 369. [18] L. Lin, J. Lu, and L. Ying , Fast construction of hierarchical matrix representation from matrix-vector multiplication, J. Comput. Phys., 230 (2011), pp. 4071–4087. [19] P. G. Martinsson , A fast direct solver for a class of elliptic partial differential equations,J . Sci. Comput., 38 (2009), pp. 316–330. [20] P. G. Martinsson and V. Rokhlin , A fast direct solver for boundary integral equations in two dimensions, J. Comput. Phys., 205 (2005), pp. 1–13. [21] S. Olver and A. Townsend , A fast and well-conditioned spectral method,S I A MR e v . ,5 5 (2013), pp. 462–489. [22] S. A. Orszag , Spectral methods for complex geometries, J. Comput. Phys., 37 (1980), pp. 70– 92. [23] P. Schmitz and L. Ying , A fast direct solver for elliptic problems on general meshes in2D, J. Comput. Phys., 231 (2012), pp. 1314–1338. [24] J. Shen, Efficient spectral-Galerkin methodII: Direct solvers of second- and fourth-order equa- tions using Chebyshev polynomials, SIAM J. Sci. Comput., 16 (1995), pp. 74–87. [25] J. Shen and T. T ang , Spectral and High-Order Methods with Applications, Science Press of China, Beijing, 2006. [26] J. Shen, T. T ang, and L.-L. W ang, Spectral Methods: Algorithms, Analysis and Applications, Springer Ser. Comput. Math. 41, Springer-Verlag, Berlin, Heidelberg, 2011. [27] J. Shen and L.-L. W ang , Sparse spectral approximations of high-dimensional problems based on hyperbolic cross, SIAM J. Numer. Anal., 48 (2010), pp. 1087–1109. [28] J. Shen and H. Yu , Efficient spectral sparse grid methods and applications to high-dimensional elliptic problems, SIAM J. Sci. Comput., 32 (2010), pp. 3228–3250. [29] J. Shen and H. Yu , Efficient spectral sparse grid methods and applications to high-dimensional elliptic equations II: Unbounded domains, SIAM J. Sci. Comput., 34 (2012), pp. A1141– A1164. [30] R. V andebril, M. V an Barel, G. Golub, and N. Mastronardi , A bibliography on semisep- arable matrices, Calcolo, 42 (2005), pp. 249–270. [31] J. Vogel, J. Xia, S. Cauley, and V. Balakrishnan , Superfast divide-and-conquer method and perturbation analysis for structured eigenvalue solutions, SIAM J. Sci. Comput., sub- mitted. [32] L.-L. W ang, M. D. Samson, and X. Zhao , A well-conditioned collocation method using a pseudospectral integration matrix, SIAM J. Sci. Comput., 36 (2014), pp. A907–A929. [33] F. Woolfe, E. Liberty, V. Rokhlin, and M. Tygert , A fast randomized algorithm for approximation of matrices, Appl. Comput. Harmon. Anal., 25 (2008), pp. 335–366. [34] Y. Xi, J. Xia, and R. Chan , A fast randomized eigensolver with structured LDL factorization update, SIAM J. Matrix Anal. Appl., 35 (2014), pp. 974–996. [35] J. Xia, On the complexity of some hierarchical structured matrix algorithms,S I A MJ .M a t r i x Anal. Appl., 33 (2012), pp. 388–410. [36] J. Xia , Randomized Sparse Direct Solvers for Large Discretized PDEs,p r e s e n t a t i o na tt h e Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php Copyright © by SIAM. Unauthorized reproduction of this article is prohibited. A54 JIE SHEN, YINGWEI WANG, AND JIANLIN XIA International Conference on Mathematical Modeling, Analysis and Computation, Xiamen, China, 2012. [37] J. Xia, Multi-layer Hierarchically Semiseparable Structures, GMIG Report, Purdue University, 2015. [38] J. Xia, S. Chandrasekaran, M. Gu, and X. S. Li , Superfast multifrontal method for large structured linear systems of equations, SIAM J. Matrix Anal. Appl., 31 (2009), pp. 1382– 1411. [39] J. Xia, S. Chandrasekaran, M. Gu, and X. S. Li , Fast algorithms for hierarchically semisep- arable matrices, Numer. Linear Algebra Appl., 17 (2010), pp. 953–976. [40] J. Xia, Y. Xi, and M. Gu , A superfast structured solver for Toeplitz linear systems via ran- domized sampling, SIAM J. Matrix Anal. Appl., 33 (2012), pp. 837–858. Downloaded 01/23/20 to 128.210.107.27. Redistribution subject to SIAM license or copyright; see http://www.siam.org/journals/ojsa.php

采集于

查看校方原文 ↗