Skip to main navigation Skip to search Skip to main content

Efficient diagonalization of symmetric matrices associated with graphs of small treewidth

  • Martin Fürer
  • , Carlos Hoppen
  • , Vilmar Trevisan

Research output: Contribution to journalArticlepeer-review

Abstract

Let M=(mij) be a symmetric matrix of order n whose elements lie in an arbitrary field F, and let G be the graph with vertex set {1,…,n} such that distinct vertices i and j are adjacent if and only if mij≠0. We introduce a dynamic programming algorithm that finds a diagonal matrix that is congruent to M. If G is given with a tree decomposition T of width k, then this can be done in time O(k|T|+k2n), where |T| denotes the number of nodes in T. Among other things, this allows the computation of the determinant, the rank and the inertia of a symmetric matrix in time O(k|T|+k2n).

Original languageEnglish (US)
Article number115187
JournalTheoretical Computer Science
Volume1040
DOIs
StatePublished - Jun 22 2025

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'Efficient diagonalization of symmetric matrices associated with graphs of small treewidth'. Together they form a unique fingerprint.

Cite this