Approximation of Inverses of BTTB Matrices for Preconditioning Applications

Total Page:16

File Type:pdf, Size:1020Kb

Approximation of Inverses of BTTB Matrices for Preconditioning Applications Eindhoven University of Technology MASTER Approximation of inverses of BTTB matrices for preconditioning applications Schneider, F.S. Award date: 2017 Link to publication Disclaimer This document contains a student thesis (bachelor's or master's), as authored by a student at Eindhoven University of Technology. Student theses are made available in the TU/e repository upon obtaining the required degree. The grade received is not published on the document as presented in the repository. The required complexity or quality of research of student theses may vary by program, and the required minimum study period may vary in duration. General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain APPROXIMATION OF INVERSES OF BTTB MATRICES for Preconditioning Applications MASTERTHESIS by Frank Schneider December 2016 Dr. Maxim Pisarenco Department of Research ASML Netherlands B.V., Veldhoven Dr. Michiel Hochstenbach Department of Mathematics and Computer Science Technische Universiteit Eindhoven (TU/e) Prof. Dr. Bernard Haasdonk Institute of Applied Analysis and Numerical Simulation Universität Stuttgart APPROXIMATION OF INVERSES of BTTB MATRICES m for Preconditioning Applications Frank Schneider December 2016 Submitted in partial fulfillment of the requirements for the degree of Master of Science (M.Sc) in Industrial and Applied Mathematics (IAM) to the Department of Mathematics and Computer Science Technische Universiteit Eindhoven (TU/e) as well as for the degree of Master of Science (M.Sc) in Simulation Technology to the Institute of Applied Analysis and Numerical Simulation Universität Stuttgart The work described in this thesis has been carried out under the auspices of - Veldhoven, The Netherlands. ABSTRACT The metrology of integrated circuits (ICs) requires multiple solutions of a large-scale linear system. The time needed for solving this sys- tem, greatly determines the number of chips that can be processed per time unit. Since the coefficient matrix is partly composed of block-Toeplitz- Toeplitz-block (BTTB) matrices, approximations of its inverse are interesting candidates for a preconditioner. In this work, different approximation techniques such as an ap- proximation by sums of Kronecker products or an approximation by inverting the corresponding generating function are examined and where necessary generalized for BTTB and BTTB-block matrices. The computational complexity of each approach is assessed and their uti- lization as a preconditioner evaluated. The performance of the discussed preconditioners is investigated for a number of test cases stemming from real life applications. v ACKNOWLEDGEMENT First and foremost I wish to thank my supervisor from ASML Maxim Pisarenco. Maxim has supported me not only by providing valuable feedback over the course of the thesis, but by being always there to answer all my questions. He guided the thesis while allowing me freedom to explore the areas that tempted me the most. I also want to thank my supervisor from the TU/e Michiel Hochsten- bach who was an excellent resource of knowledge, academically and emotionally. Thank you for all the helpful feedback not only regard- ing the work and the thesis, but also regarding future plans. I owe thanks to the members of my thesis committee, professor Barry Koren and Martijn van Beurden from the TU/e and professor Bernard Haasdonk from the university of Stuttgart. Thank you for your valuable guidance and insightful comments. Thank you very much, everyone! Frank Schneider Eindhoven, December 28, 2016. vii CONTENTS i introduction1 1 motivation3 1.1 Photolithography . 4 1.1.1 Metrology . 5 1.2 Other Applications . 8 1.2.1 Deblurring Images . 9 1.2.2 Further Applications . 11 2 linear systems 13 2.1 Iterative Solvers . 13 2.1.1 CG Method . 13 2.1.2 Other Methods . 16 2.2 Preconditioning . 17 3 toeplitz systems 19 3.1 Multi-level Toeplitz Matrices . 21 3.2 Circulant Matrices . 23 3.3 Hankel . 23 4 problem description 25 4.1 Full Problem . 25 4.2 BTTB-Block System . 28 4.3 BTTB System . 29 5 thesis overview 31 ii preconditioners 33 6 overview over the preconditioning techniques 35 7 full c preconditioner 37 7.1 Application to Full Problem . 37 7.1.1 Inversion . 37 7.1.2 MVP . 37 8 circulant approximation 39 8.1 Circulant Approximation for Toeplitz Matrices . 39 8.1.1 Circulant Preconditioners . 40 8.2 Circulant Approximation for BTTB Matrices . 42 8.2.1 Toeplitz-block Matrices . 43 8.2.2 Block-Toeplitz Matrices . 43 8.3 Application to BTTB-block Matrices . 45 8.3.1 Inversion . 45 8.3.2 MVP . 46 9 inverse generating function approach 47 9.1 Inverse Generating Function for Toeplitz and BTTB Matrices . 47 ix 9.1.1 Unknown Generating Function . 48 9.1.2 Numerical Integration for Computing the Fourier Coefficients . 49 9.1.3 Numerical Inversion of the Generating Function 50 9.1.4 Example . 51 9.1.5 Efficient Inversion andMVP........... 51 9.2 Inverse Generating Function for BTTB-block Matrices . 52 9.2.1 General Approach . 53 9.2.2 Preliminaries . 53 9.2.3 Proof of Clustering of the Eigenvalues . 57 9.2.4 Example . 63 9.3 Regularizing Functions . 63 9.4 Numerical Experiments . 65 9.4.1 Convergence of theIGF.............. 65 9.4.2 IGF for aBTTB-block Matrix . 66 10 kronecker product approximation 69 10.1 Optimal Approximation for BTTB Matrices . 69 10.1.1 Algorithm . 71 10.1.2 Inverse and MVP . 71 10.2 BTTB-block Matrices . 73 10.2.1 One Term Approximation . 75 10.2.2 Multiple Terms Approximation . 77 10.3 Numerical Experiments . 79 10.3.1 Convergence of the Kronecker Product Approx- imation . 79 10.3.2 Decay of Singular Values . 80 10.3.3 Relation to the Generating Function . 80 11 more ideas 83 11.1 Transformation Based Preconditioners . 83 11.1.1 Discrete Sine and Cosine Transform . 83 11.1.2 Hartley Transform . 84 11.2 Banded Approximations . 85 11.3 Koyuncu Factorization . 86 11.4 Low-Rank Update . 88 iii benchmarks 91 12 benchmarks 93 12.1 Transformation-based Preconditioner . 99 12.2 Kronecker Product Approximation . 100 12.3 Inverse Generating Function . 101 12.4 Banded Approximation . 103 iv conclusion 105 13 future work 107 13.1 Inverse Generating Function . 107 13.1.1 Regularization . 107 13.1.2 Other Kernels . 107 x 13.2 Kronecker Product Approximation . 108 13.2.1 Using a Common Basis . 108 13.3 Preconditioner Selection . 108 14 conclusion 111 v appendix 113 a inversion formulas for kronecker product ap- proximation 115 a.1 One Term Approximation . 115 a.1.1 Sum Approximation . 115 a.2 Multiple Terms Approximation . 119 a.2.1 Sum Approximation . 119 bibliography 123 xi LISTOFFIGURES Figure 1.1 Moore’s law. 3 Figure 1.2 Photolithographic process. 4 Figure 1.3 Close-up of a wafer. 5 Figure 1.4 Effect of focus on the gratings. 6 Figure 1.5 Indirect grating measurement. 6 Figure 1.6 Shape parameters for a trapezoidal grating. 7 Figure 1.7 Example for aPSF................. 10 Figure 1.8 Blurring problem. 10 Figure 2.1 Minimization function. 14 Figure 2.2 Convergence of gradient descent and conjugate gradient (CG) method for different functions φ. 15 Figure 2.3 Preconditioner trade off. 18 Figure 4.1 Sparsity patterns of the matrices C, G and G as well as the resulting matrix A......... 25 Figure 4.2 Sparsity pattern of C................ 26 Figure 4.3 Color plots of all levels of C........... 27 Figure 8.1 Color plots for a Toeplitz-block matrix and its circulant-block approximation. 43 Figure 8.2 Color plots for a block-Toeplitz matrix and its block-circulant approximation. 44 Figure 9.1 Illustration of the inverse generating function approach (marked in red). 48 Figure 9.2 Illustration of the inverse generating function approach for unknown generating functions, with the changes marked in red. 49 Figure 9.3 Illustration of the inverse generating function approach with numerical Integration (highlighted in red). 50 Figure 9.4 Illustration of the inverse generating function approach using a sampled generating function. 51 Figure 9.5 Color plots for the inverse of the originalBTTB matrix, T[f]-1, the result of the inverse gener- ating function method T[1=f] and the difference between those two. 52 Figure 9.6 Illustration of the inverse generating function for Toeplitz-block matrices. 53 Figure 9.7 Color plots for the inverse of the original 2 × 2 BTTB-block matrix, T[F (x, y)]-1, the result of the inverse generating function method T[1=F (x,y)] and the difference of those two. 64 xii Figure 9.8 Degrees of regularization. 65 Figure 9.9 Convergence of the inverse generating func- tion (IGF) method towards the exact inverse. 66 Figure 9.10 Distribution of eigenvalues for theIGF..... 68 Figure 10.1 Relative difference of the Kronecker product approximation (using all terms) and the orig- inalBTTB matrix, for 500 randomly created test cases. 80 Figure 10.2 Decay of the singular value of a sample test case. 81 Figure 10.3 Relation of the Kronecker product approx- imation and the generating functions (taken from the test case 1b). 82 Figure 10.4 Convergence of the Generating Function. 82 Figure 11.1 Color plots for aBTTB matrix and the ap- proximation resulting from discrete sine trans- form (DST)II...................
Recommended publications
  • Solving the Multi-Way Matching Problem by Permutation Synchronization
    Solving the multi-way matching problem by permutation synchronization Deepti Pachauriy Risi Kondorx Vikas Singhy yUniversity of Wisconsin Madison xThe University of Chicago [email protected] [email protected] [email protected] http://pages.cs.wisc.edu/∼pachauri/perm-sync Abstract The problem of matching not just two, but m different sets of objects to each other arises in many contexts, including finding the correspondence between feature points across multiple images in computer vision. At present it is usually solved by matching the sets pairwise, in series. In contrast, we propose a new method, Permutation Synchronization, which finds all the matchings jointly, in one shot, via a relaxation to eigenvector decomposition. The resulting algorithm is both computationally efficient, and, as we demonstrate with theoretical arguments as well as experimental results, much more stable to noise than previous methods. 1 Introduction 0 Finding the correct bijection between two sets of objects X = fx1; x2; : : : ; xng and X = 0 0 0 fx1; x2; : : : ; xng is a fundametal problem in computer science, arising in a wide range of con- texts [1]. In this paper, we consider its generalization to matching not just two, but m different sets X1;X2;:::;Xm. Our primary motivation and running example is the classic problem of matching landmarks (feature points) across many images of the same object in computer vision, which is a key ingredient of image registration [2], recognition [3, 4], stereo [5], shape matching [6, 7], and structure from motion (SFM) [8, 9]. However, our approach is fully general and equally applicable to problems such as matching multiple graphs [10, 11].
    [Show full text]
  • Arxiv:1912.06217V3 [Math.NA] 27 Feb 2021
    ROUNDING ERROR ANALYSIS OF MIXED PRECISION BLOCK HOUSEHOLDER QR ALGORITHMS∗ L. MINAH YANG† , ALYSON FOX‡, AND GEOFFREY SANDERS‡ Abstract. Although mixed precision arithmetic has recently garnered interest for training dense neural networks, many other applications could benefit from the speed-ups and lower storage cost if applied appropriately. The growing interest in employing mixed precision computations motivates the need for rounding error analysis that properly handles behavior from mixed precision arithmetic. We develop mixed precision variants of existing Householder QR algorithms and show error analyses supported by numerical experiments. 1. Introduction. The accuracy of a numerical algorithm depends on several factors, including numerical stability and well-conditionedness of the problem, both of which may be sensitive to rounding errors, the difference between exact and finite precision arithmetic. Low precision floats use fewer bits than high precision floats to represent the real numbers and naturally incur larger rounding errors. Therefore, error attributed to round-off may have a larger influence over the total error and some standard algorithms may yield insufficient accuracy when using low precision storage and arithmetic. However, many applications exist that would benefit from the use of low precision arithmetic and storage that are less sensitive to floating-point round-off error, such as training dense neural networks [20] or clustering or ranking graph algorithms [25]. As a step towards that goal, we investigate the use of mixed precision arithmetic for the QR factorization, a widely used linear algebra routine. Many computing applications today require solutions quickly and often under low size, weight, and power constraints, such as in sensor formation, where low precision computation offers the ability to solve many problems with improvement in all four parameters.
    [Show full text]
  • Arxiv:1709.00765V4 [Cond-Mat.Stat-Mech] 14 Oct 2019
    Number of hidden states needed to physically implement a given conditional distribution Jeremy A. Owen,1 Artemy Kolchinsky,2 and David H. Wolpert2, 3, 4, ∗ 1Physics of Living Systems Group, Department of Physics, Massachusetts Institute of Technology, 400 Tech Square, Cambridge, MA 02139. 2Santa Fe Institute 3Arizona State University 4http://davidwolpert.weebly.com† (Dated: October 15, 2019) We consider the problem of how to construct a physical process over a finite state space X that applies some desired conditional distribution P to initial states to produce final states. This problem arises often in the thermodynamics of computation and nonequilibrium statistical physics more generally (e.g., when designing processes to implement some desired computation, feedback controller, or Maxwell demon). It was previously known that some conditional distributions cannot be implemented using any master equation that involves just the states in X. However, here we show that any conditional distribution P can in fact be implemented—if additional “hidden” states not in X are available. Moreover, we show that is always possible to implement P in a thermodynamically reversible manner. We then investigate a novel cost of the physical resources needed to implement a given distribution P : the minimal number of hidden states needed to do so. We calculate this cost exactly for the special case where P represents a single-valued function, and provide an upper bound for the general case, in terms of the nonnegative rank of P . These results show that having access to one extra binary degree of freedom, thus doubling the total number of states, is sufficient to implement any P with a master equation in a thermodynamically reversible way, if there are no constraints on the allowed form of the master equation.
    [Show full text]
  • On the Asymptotic Existence of Partial Complex Hadamard Matrices And
    Discrete Applied Mathematics 102 (2000) 37–45 View metadata, citation and similar papers at core.ac.uk brought to you by CORE On the asymptotic existence of partial complex Hadamard provided by Elsevier - Publisher Connector matrices and related combinatorial objects Warwick de Launey Center for Communications Research, 4320 Westerra Court, San Diego, California, CA 92121, USA Received 1 September 1998; accepted 30 April 1999 Abstract A proof of an asymptotic form of the original Goldbach conjecture for odd integers was published in 1937. In 1990, a theorem reÿning that result was published. In this paper, we describe some implications of that theorem in combinatorial design theory. In particular, we show that the existence of Paley’s conference matrices implies that for any suciently large integer k there is (at least) about one third of a complex Hadamard matrix of order 2k. This implies that, for any ¿0, the well known bounds for (a) the number of codewords in moderately high distance binary block codes, (b) the number of constraints of two-level orthogonal arrays of strengths 2 and 3 and (c) the number of mutually orthogonal F-squares with certain parameters are asymptotically correct to within a factor of 1 (1 − ) for cases (a) and (b) and to within a 3 factor of 1 (1 − ) for case (c). The methods yield constructive algorithms which are polynomial 9 in the size of the object constructed. An ecient heuristic is described for constructing (for any speciÿed order) about one half of a Hadamard matrix. ? 2000 Elsevier Science B.V. All rights reserved.
    [Show full text]
  • Triangular Factorization
    Chapter 1 Triangular Factorization This chapter deals with the factorization of arbitrary matrices into products of triangular matrices. Since the solution of a linear n n system can be easily obtained once the matrix is factored into the product× of triangular matrices, we will concentrate on the factorization of square matrices. Specifically, we will show that an arbitrary n n matrix A has the factorization P A = LU where P is an n n permutation matrix,× L is an n n unit lower triangular matrix, and U is an n ×n upper triangular matrix. In connection× with this factorization we will discuss pivoting,× i.e., row interchange, strategies. We will also explore circumstances for which A may be factored in the forms A = LU or A = LLT . Our results for a square system will be given for a matrix with real elements but can easily be generalized for complex matrices. The corresponding results for a general m n matrix will be accumulated in Section 1.4. In the general case an arbitrary m× n matrix A has the factorization P A = LU where P is an m m permutation× matrix, L is an m m unit lower triangular matrix, and U is an×m n matrix having row echelon structure.× × 1.1 Permutation matrices and Gauss transformations We begin by defining permutation matrices and examining the effect of premulti- plying or postmultiplying a given matrix by such matrices. We then define Gauss transformations and show how they can be used to introduce zeros into a vector. Definition 1.1 An m m permutation matrix is a matrix whose columns con- sist of a rearrangement of× the m unit vectors e(j), j = 1,...,m, in RI m, i.e., a rearrangement of the columns (or rows) of the m m identity matrix.
    [Show full text]
  • Implementation and Performance Analysis of a Parallel Oil Reservoir Simulator Tool Using a CG Method on a GPU-Based System
    2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation Implementation and Performance Analysis of a Parallel Oil Reservoir Simulator Tool using a CG Method on a GPU-Based System Leila Ismail Jamal Abou-Kassem Bibrak Qamar Computer and Software Engineering/ Department of Chemical and Petroleum HPGCL Research Lab HPGCL Research Lab Engineering College of IT College of IT College of Engineering UAE University UAE University UAE University Al-Ain, UAE Al-Ain, UAE Al-Ain, UAE Email: [email protected] (Correspondence Email: [email protected] Author) 978-1-4799-4923-6/14 $31.00 © 2014 IEEE 374 DOI 10.1109/UKSim.2014.113 described in section IV. Our experiments and analysis of The above formula is the transmissibility in the x-direction results are presented in section V. Finally, VI concludes our where μ is the viscosity, B is the formation volume factor, work. Δx is the dimension of a grid block in the x-direction, Ax is the area of a grid block (y-dimension * height), Kx is the II. OVERALL IMPLEMENTATION OF THE OIL RESERVOIR permeability in the x-direction and βc is the transmissibility SIMULATOR conversion factor. Based on the values computed for the transmissibility and the production rates of the wells, the simulator then generates the system Ax = d, where A is the coefficient matrix, x is the solution vector for the value of pressure in each grid block of the reservoir and d is is a known vector which represents the right hand side of the generated system of equations.
    [Show full text]
  • Think Global, Act Local When Estimating a Sparse Precision
    Think Global, Act Local When Estimating a Sparse Precision Matrix by Peter Alexander Lee A.B., Harvard University (2007) Submitted to the Sloan School of Management in partial fulfillment of the requirements for the degree of Master of Science in Operations Research at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY June 2016 ○c Peter Alexander Lee, MMXVI. All rights reserved. The author hereby grants to MIT permission to reproduce and to distribute publicly paper and electronic copies of this thesis document in whole or in part in any medium now known or hereafter created. Author................................................................ Sloan School of Management May 12, 2016 Certified by. Cynthia Rudin Associate Professor Thesis Supervisor Accepted by . Patrick Jaillet Dugald C. Jackson Professor, Department of Electrical Engineering and Computer Science and Co-Director, Operations Research Center 2 Think Global, Act Local When Estimating a Sparse Precision Matrix by Peter Alexander Lee Submitted to the Sloan School of Management on May 12, 2016, in partial fulfillment of the requirements for the degree of Master of Science in Operations Research Abstract Substantial progress has been made in the estimation of sparse high dimensional pre- cision matrices from scant datasets. This is important because precision matrices underpin common tasks such as regression, discriminant analysis, and portfolio opti- mization. However, few good algorithms for this task exist outside the space of L1 penalized optimization approaches like GLASSO. This thesis introduces LGM, a new algorithm for the estimation of sparse high dimensional precision matrices. Using the framework of probabilistic graphical models, the algorithm performs robust covari- ance estimation to generate potentials for small cliques and fuses the local structures to form a sparse yet globally robust model of the entire distribution.
    [Show full text]
  • Spectral Properties of Anti-Heptadiagonal Persymmetric
    Spectral properties of anti-heptadiagonal persymmetric Hankel matrices Jo˜ao Lita da Silva1 Department of Mathematics and GeoBioTec Faculty of Sciences and Technology NOVA University of Lisbon Quinta da Torre, 2829-516 Caparica, Portugal Abstract In this paper we express the eigenvalues of anti-heptadiagonal persymmetric Hankel matrices as the zeros of explicit polynomials giving also a representation of its eigenvectors. We present also an expression depending on localizable parameters to compute its integer powers. In particular, an explicit formula not depending on any unknown parameter for the inverse of anti-heptadiagonal persymmetric Hankel matrices is provided. Key words: Anti-heptadiagonal matrix, Hankel matrix, eigenvalue, eigenvector, diagonalization 2010 Mathematics Subject Classification: 15A18, 15B05 1 Introduction The importance of Hankel matrices in computational mathematics and engineering is well-known. As a matter of fact, these type of matrices have not only a varied and numerous relations with polyno- mial computations (see, for instance, [2]) but also applications in engineering problems of system and control theory (see [4], [12] or [14] and the references therein). Recently, several authors have studied particular cases of these matrices in order to derive explicit expressions for its powers (see [7], [11], [16], [17], [19], [20] among others). The aim of this paper is to explore spectral properties of general anti-heptadiagonal persymmetric Hankel matrices, namely locating its eigenvalues and getting an explicit representation of its eigenvec- tors. Additionally, it is our purpose announce formulae for the computation of its integer powers using, thereunto, a diagonalization for the referred matrices. Particularly, an expression free of any unknown parameter to calculate the inverse of any anti-heptadiagonal persymmetric Hankel matrix (assuming arXiv:1907.00260v1 [math.RA] 29 Jun 2019 its nonsingularity) is made available.
    [Show full text]
  • Recursion Formulae for the Characteristic Polynomial of Symmetric Banded Matrices
    Recursion Formulae for the Characteristic Polynomial of Symmetric Banded Matrices Werner Kratz und Markus Tentler Preprint Series: 2007-15 Fakult¨at fur¨ Mathematik und Wirtschaftswissenschaften UNIVERSITAT¨ ULM Recursion Formulae for the Characteristic Polynomial of Symmetric Banded Matrices Werne Kratz und Markus Tentler Preprint Series: 2007-15 Fakult¨at fur¨ Mathematik und Wirtschaftswissenschaften UNIVERSITAT¨ ULM Recursion formulae for the characteristic polynomial of symmetric banded matrices Werner Kratz and Markus Tentler Abstract . In this article we treat the algebraic eigenvalue problem for real, symmetric, and banded matrices of size N × N , say. For symmetric, tridi- agonal matrices, there is a well-known two-term recursion to evaluate the characteristic polynomials of its principal submatrices. This recursion is of complexity O(N) and it requires additions and multiplications only. More- over, it is used as the basis for a numerical algorithm to compute particular eigenvalues of the matrix via bisection. We derive similar recursion formu- lae with the same complexity O(N) for symmetric matrices with arbitrary bandwidth, containing divisions. The main results are divisionfree recursions for penta- and heptadiagonal symmetric matrices. These recursions yield sim- ilarly as in the tridiagonal case effective (with complexity O(N) ), fast, and stable algorithms to compute their eigenvalues. Running head: Recursion formulae for banded matrices Key words: Banded matrix, eigenvalue problem, Sturm-Liouville equation, pentadiagonal matrix, heptadiagonal matrix, bisection method AMS subject classi¯cation: 15A18; 65F15, 15A15, 39A10, 15A24 W. Kratz and M. Tentler Universit¨atUlm Institut f¨urAngewandte Analysis D - 89069 Ulm, Germany e-mail: [email protected] e-mail: [email protected] Recursion formulae for the characteristic polynomial of symmetric banded matrices Werner Kratz and Markus Tentler 1 Introduction In this article we consider the algebraic eigenvalue problem for real, sym- metric, and banded matrices of size N × N , say.
    [Show full text]
  • Mata Glossary of Common Terms
    Title stata.com Glossary Description Commonly used terms are defined here. Mata glossary arguments The values a function receives are called the function’s arguments. For instance, in lud(A, L, U), A, L, and U are the arguments. array An array is any indexed object that holds other objects as elements. Vectors are examples of 1- dimensional arrays. Vector v is an array, and v[1] is its first element. Matrices are 2-dimensional arrays. Matrix X is an array, and X[1; 1] is its first element. In theory, one can have 3-dimensional, 4-dimensional, and higher arrays, although Mata does not directly provide them. See[ M-2] Subscripts for more information on arrays in Mata. Arrays are usually indexed by sequential integers, but in associative arrays, the indices are strings that have no natural ordering. Associative arrays can be 1-dimensional, 2-dimensional, or higher. If A were an associative array, then A[\first"] might be one of its elements. See[ M-5] asarray( ) for associative arrays in Mata. binary operator A binary operator is an operator applied to two arguments. In 2-3, the minus sign is a binary operator, as opposed to the minus sign in -9, which is a unary operator. broad type Two matrices are said to be of the same broad type if the elements in each are numeric, are string, or are pointers. Mata provides two numeric types, real and complex. The term broad type is used to mask the distinction within numeric and is often used when discussing operators or functions.
    [Show full text]
  • The Use of the Vec-Permutation Matrix in Spatial Matrix Population Models Christine M
    Ecological Modelling 188 (2005) 15–21 The use of the vec-permutation matrix in spatial matrix population models Christine M. Hunter∗, Hal Caswell Biology Department MS-34, Woods Hole Oceanographic Institution, Woods Hole, MA 02543, USA Abstract Matrix models for a metapopulation can be formulated in two ways: in terms of the stage distribution within each spatial patch, or in terms of the spatial distribution within each stage. In either case, the entries of the projection matrix combine demographic and dispersal information in potentially complicated ways. We show how to construct such models from a simple block-diagonal formulation of the demographic and dispersal processes, using a special permutation matrix called the vec-permutation matrix. This formulation makes it easy to calculate and interpret the sensitivity and elasticity of λ to changes in stage- and patch-specific demographic and dispersal parameters. © 2005 Christine M. Hunter and Hal Caswell. Published by Elsevier B.V. All rights reserved. Keywords: Matrix population model; Spatial model; Metapopulation; Multiregional model; Dispersal; Movement; Sensitivity; Elasticity 1. Introduction If each local population is described by a stage- classified matrix population model (see Caswell, A spatial population model describes a finite set of 2001), a spatial matrix model describing the metapop- discrete local populations coupled by the movement ulation can be written as or dispersal of individuals. Human demographers call these multiregional populations (Rogers, 1968, 1995), n(t + 1) = An(t) (1) ecologists call them multisite populations (Lebreton, 1996) or metapopulations (Hanski, 1999). The dynam- The population vector, n, includes the densities of ics of metapopulations are determined by the patterns each stage in each local population (which we will of dispersal among the local populations and the de- refer to here as a patch).
    [Show full text]
  • Sparse Precision Matrix Estimation Via Lasso Penalized D-Trace Loss
    Biometrika (2014), 101,1,pp. 103–120 doi: 10.1093/biomet/ast059 Printed in Great Britain Advance Access publication 12 February 2014 Sparse precision matrix estimation via lasso penalized D-trace loss BY TENG ZHANG Department of Mathematics, Princeton University, Fine Hall, Washington Rd, Princeton, Downloaded from New Jersey 08544, U.S.A. [email protected] AND HUI ZOU http://biomet.oxfordjournals.org/ School of Statistics, University of Minnesota, 224 Church St SE, Minneapolis, Minnesota 55455, U.S.A. [email protected] SUMMARY We introduce a constrained empirical loss minimization framework for estimating high- dimensional sparse precision matrices and propose a new loss function, called the D-trace loss, for that purpose. A novel sparse precision matrix estimator is defined as the minimizer of the lasso at University of Minnesota,Walter Library Serial Processing on March 5, 2014 penalized D-trace loss under a positive-definiteness constraint. Under a new irrepresentability condition, the lasso penalized D-trace estimator is shown to have the sparse recovery property. Examples demonstrate that the new condition can hold in situations where the irrepresentability condition for the lasso penalized Gaussian likelihood estimator fails. We establish rates of con- vergence for the new estimator in the elementwise maximum, Frobenius and operator norms. We develop a very efficient algorithm based on alternating direction methods for computing the pro- posed estimator. Simulated and real data are used to demonstrate the computational efficiency of our algorithm and the finite-sample performance of the new estimator. The lasso penalized D-trace estimator is found to compare favourably with the lasso penalized Gaussian likelihood estimator.
    [Show full text]