English

A simple division-free algorithm for computing Pfaffians

Data Structures and Algorithms 2023-02-24 v1 Combinatorics

Abstract

We present a very simple algorithm for computing Pfaffians which uses no division operations. Essentially, it amounts to iterating matrix multiplication and truncation. Its complexity, for a 2n×2n2n\times 2n matrix, is O(nM(n))O(nM(n)), where M(n)M(n) is the cost of matrix multiplication. In case of a sparse matrix, M(n)M(n) is the cost of the dense-sparse matrix multiplication. The algorithm is an adaptation of the Bird algorithm for determinants. We show how to extract, with practically no additional work, the characteristic polynomial and the Pfaffian characteristic polynomial from these algorithms.

Keywords

Cite

@article{arxiv.2302.12081,
  title  = {A simple division-free algorithm for computing Pfaffians},
  author = {Adam J. Przezdziecki},
  journal= {arXiv preprint arXiv:2302.12081},
  year   = {2023}
}

Comments

7 pages