Back to browse
GitHub Repository

Companion Matrix Root Finder

0 starsPython

High-Precision Companion Matrix Root Finder

by ratwolf·Mar 13, 2026·1 point·0 comments

AI Analysis

MidCozyBig Brain

Python wrapper for mpmath eigenvalues when numpy.roots loses precision on ill-conditioned polynomials.

Strengths
  • Handles Wilkinson's Catastrophe with configurable precision up to hundreds of digits.
  • Residual checks validate numerical accuracy for every single computed root automatically.
  • Modular code separates matrix construction, eigenvalue solving, and complex plotting logic.
Weaknesses
  • Competes with established libraries like numpy, scipy, and Julia built-ins.
  • CLI input loop is basic compared to standard argument parsing libraries.
Target Audience

Numerical analysts, scientists, math students

Similar To

numpy.roots · mpmath · MATLAB

Similar Projects