计算机科学 > 数据结构与算法
[提交于 2021年10月26日 (v1),最后修订于 2021年10月26日 (此版本, v2)]
标题:Efficient diagonalization of symmetric matrices associated with graphs of small treewidth
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Let $M=(m_{ij})$ be a symmetric matrix of order $n$ whose elements lie in an arbitrary field $\mathbb{F}$, and let $G$ be the graph with vertex set $\{1,\ldots,n\}$ such that distinct vertices $i$ and $j$ are adjacent if and only if $m_{ij} \neq 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 $\mathcal{T}$ of width $k$, then this can be done in time $O(k|\mathcal{T}| + k^2 n)$, where $|\mathcal{T}|$ denotes the number of nodes in $\mathcal{T}$. Among other things, this allows one to compute the determinant, the rank and the inertia of a symmetric matrix in time $O(k|\mathcal{T}| + k^2 n)$.
提交历史
来自:Carlos Hoppen[v2] 2021年10月26日 星期二 21:23:29 UTC