Title
|
|
|
|
On the expressive power of query languages for matrices
| |
Author
|
|
|
|
| |
Abstract
|
|
|
|
We investigate the expressive power of MATLANG, a formal language for matrix manipulation based on common matrix operations and linear algebra. The language can be extended with the operation inv for inverting a matrix. In MATLANG + inv, we can compute the transitive closure of directed graphs, whereas we show that this is not possible without inversion. Indeed, we show that the basic language can be simulated in the relational algebra with arithmetic operations, grouping, and summation. We also consider an operation eigen for diagonalizing a matrix. It is defined such that for each eigenvalue a set of mutually orthogonal eigenvectors is returned that span the eigenspace of that eigenvalue. We show that inv can be expressed in MATLANG + eigen. We put forward the open question whether there are Boolean queries about matrices, or generic queries about graphs, expressible in MATLANG + eigen but not in MATLANG + inv. Finally, the evaluation problem for MATLANG + eigen is shown to be complete for the complexity class there exists R. |
| |
Language
|
|
|
|
English
| |
Source (journal)
|
|
|
|
ACM transactions on database systems. - New York, N.Y., 1976, currens
| |
Publication
|
|
|
|
New York, N.Y.
:
2019
| |
ISSN
|
|
|
|
0362-5915
1557-4644
[online]
| |
DOI
|
|
|
|
10.1145/3331445
| |
Volume/pages
|
|
|
|
44
:4
(2019)
, 31 p.
| |
Article Reference
|
|
|
|
15
| |
ISI
|
|
|
|
000535714000003
| |
Medium
|
|
|
|
E-only publicatie
| |
Full text (Publisher's DOI)
|
|
|
|
| |
|