Skip to main content

Experiments with quadtree representation of matrices

  • Applications
  • Conference paper
  • First Online:
Book cover Symbolic and Algebraic Computation (ISSAC 1988)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 358))

Included in the following conference series:

Abstract

The quadtrees matrix representation has been recently proposed as an alternative to the conventional linear storage of matrices. If all elements of a matrix are zero, then the matrix is represented by an empty tree; otherwise it is represented by a tree consisting of four subtrees, each representing, recursively, a quadrant of the matrix. Using four-way block decomposition, algorithms on quadtrees accelerate on blocks entirely of zeroes, and thereby offer improved performance on sparse matrices. This paper reports the results of experiments done with a quadtree matrix package implemented in REDUCE to compare the performance of quadtree representation with REDUCE's built-in sequential representation of matrices. Tests on addition, multiplication, and inversion of dense, triangular, tridiagonal, and diagonal matrices (both symbolic and numeric) of sizes up to 100×100 show that the quadtree algorithms perform well in a broad range of circumstances, sometimes running orders of magnitude faster than their sequential counterparts.

isiting scientist at Tektronix Labs during the summer of 1987 when this work was done.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. S. K. Abdali & D. D. Saunders. Transitive closure and related semiring properties via eliminants. Theoretical Computer Science 40, 2,3 (1985), 257–274.

    Google Scholar 

  2. E. H. Bareiss. Sylvester's identity and multistep integer-preserving Gaussian elimination. Math. Comp. 22}, 103 (July, 1968), 565–578.

    Google Scholar 

  3. V. N. Faddeeva. Computational Methods of Linear Algebra, Dover, New York (1959).

    Google Scholar 

  4. F. R. Gantmacher. The Theory of Matrices 1, Chelsea, New York (1960).

    Google Scholar 

  5. A. C. Hearn. REDUCE User's Manual, Version 3.3. Rand Publication CP78, The Rand Corp., Santa Monica, CA (July, 1987).

    Google Scholar 

  6. D. E. Knuth. The Art of Computer Programming, I, Fundamental Algorithms, 2nd Ed., Addison-Wesley, Reading, MA (1975).

    Google Scholar 

  7. A. C. McKellar & E. G. Coffman, Jr. Organizing matrices and matrix operations for paged memory systems. Comm. ACM 12, 3 (March, 1969), 153–165.

    Google Scholar 

  8. T. Sasaki & H. Murao. Efficient Gaussian elimination method for symbolic determinants and linear systems. In P. S. Wang (Ed.), Proc. 1981 ACM Symp. on Symbolic and Algebraic Computation, ACM Order No. 505810 (August, 1981), 155–159.

    Google Scholar 

  9. M. K. Sridhar. A new algorithm for parallel solutions of linear equations. Inf. Proc. Lett. 24, (April, 1987), 407–412.

    Google Scholar 

  10. V. Strassen. Gaussian elimination is not optimal. Numer. Math. 13, 4 (August, 1969), 354–356.

    Google Scholar 

  11. D. S. Wise. Representing matrices as quadtrees for parallel processors (extended abstract). ACM SIGSAM Bulletin 18, 3 (August, 1984), 24–25.

    Google Scholar 

  12. D. S. Wise. Parallel decomposition of matrix inversion using quadtrees. In Hwang, K., Jacobs, S. J., and Swartzlander E. E. (Eds.), Proc. 1986 International Conference on Parallel Processing, IEEE Computer Society Press, Washington, 1986, pp. 92–99.

    Google Scholar 

  13. D. S. Wise. Matrix algebra and applicative programming. In G. Kahn (Ed.), Functional Programming Languages and Computer Architecture, Lecture Notes in Computer Science 274, Springer, Berlin (1987), pp. 134–153.

    Google Scholar 

  14. D. S. Wise & J. Franco. Costs of quadtree representation of non-dense matrices. Technical Report No. 229, Computer Science Department, Indiana University (October, 1987).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

P. Gianni

Rights and permissions

Reprints and permissions

Copyright information

© 1989 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Abdali, S.K., Wise, D.S. (1989). Experiments with quadtree representation of matrices. In: Gianni, P. (eds) Symbolic and Algebraic Computation. ISSAC 1988. Lecture Notes in Computer Science, vol 358. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-51084-2_9

Download citation

  • DOI: https://doi.org/10.1007/3-540-51084-2_9

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-51084-0

  • Online ISBN: 978-3-540-46153-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics