Efficient diagonalization of symmetric matrices associated with graphs of small treewidth
Data Structures and Algorithms
2021-10-28 v2 Symbolic Computation
Combinatorics
Abstract
Let be a symmetric matrix of order whose elements lie in an arbitrary field , and let be the graph with vertex set such that distinct vertices and are adjacent if and only if . We introduce a dynamic programming algorithm that finds a diagonal matrix that is congruent to . If is given with a tree decomposition of width , then this can be done in time , where denotes the number of nodes in . Among other things, this allows one to compute the determinant, the rank and the inertia of a symmetric matrix in time .
Cite
@article{arxiv.2109.02515,
title = {Efficient diagonalization of symmetric matrices associated with graphs of small treewidth},
author = {Martin Fürer and Carlos Hoppen and Vilmar Trevisan},
journal= {arXiv preprint arXiv:2109.02515},
year = {2021}
}