VX Development Blog

Articles tagged with benchmarking

Parallelizing the Berkowitz Algorithm with Python

Overview

During academic research I had the opportunity to get familiar with and implement the Samuelson–Berkowitz algorithm for computing the characteristic polynomial of a square matrix whose entries may be elements of any unital commutative ring. The algorithm is division-free, thus may be applied to a wider range of …