IDEAS home Printed from
   My bibliography  Save this paper

Constructing a Generator of Matrices with Pattern


  • Halkos, George
  • Tsilika, Kyriaki


Computations with large matrices work out faster with computer software, even faster creating automatically the matrix of the size and pattern needed. In this paper we propose free computer algebra system Xcas resources to display particular matrices that can be called up directly. Our computer codes provide shortcuts for entering random block diagonal matrices, random triangular matrices, random and specialized band matrices, elementary matrices Eij, Fourier matrices. As for matrices needed in the study of mathematical issues concerning the properties of the roots of a polynomial, we create features with polynomial coefficients. We also propose codes for immediate construction of functional matrices such as Jacobian, bordered Hessian and Wronskian. The computer codes proposed provide visual representation of the matrix pattern (which is traditionally explained using indices and numerals), infinite number of examples using random numbers and immediate construction of large matrices of various forms.

Suggested Citation

  • Halkos, George & Tsilika, Kyriaki, 2012. "Constructing a Generator of Matrices with Pattern," MPRA Paper 43614, University Library of Munich, Germany.
  • Handle: RePEc:pra:mprapa:43614

    Download full text from publisher

    File URL:
    File Function: original version
    Download Restriction: no

    References listed on IDEAS

    1. Lloyd, William P & Lee, Cheng F, 1976. "Block Recursive Systems in Asset Pricing Models," Journal of Finance, American Finance Association, vol. 31(4), pages 1101-1113, September.
    2. George Halkos & Kyriaki Tsilika, 2015. "Programming Identification Criteria in Simultaneous Equation Models," Computational Economics, Springer;Society for Computational Economics, vol. 46(1), pages 157-170, June.
    3. repec:wsi:wschap:9789813108448_0027 is not listed on IDEAS
    4. David G. Tarr, 2017. "Distributed Lags, Morishima Matrices, And The Stability Of Economic Models," World Scientific Book Chapters,in: Trade Policies for Development and Transition, chapter 27, pages 627-630 World Scientific Publishing Co. Pte. Ltd..
    5. Halkos, George & Tsilika, Kyriaki, 2012. "Stability analysis in economic dynamics: A computational approach," MPRA Paper 41371, University Library of Munich, Germany.
    6. Batten, D & Martellato, D, 1985. "Classical versus Modern Approaches to Interregional Input-Output Analysis," The Annals of Regional Science, Springer;Western Regional Science Association, vol. 19(3), pages 1-15, November.
    Full references (including those not matched with items on IDEAS)

    More about this item


    Matrices with pattern; functional programming; computer software;

    JEL classification:

    • C63 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Computational Techniques
    • C02 - Mathematical and Quantitative Methods - - General - - - Mathematical Economics
    • C88 - Mathematical and Quantitative Methods - - Data Collection and Data Estimation Methodology; Computer Programs - - - Other Computer Software
    • C62 - Mathematical and Quantitative Methods - - Mathematical Methods; Programming Models; Mathematical and Simulation Modeling - - - Existence and Stability Conditions of Equilibrium

    NEP fields

    This paper has been announced in the following NEP Reports:


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:pra:mprapa:43614. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Joachim Winter) or (Rebekah McClure). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.