PolySolve Documentation
1. Introduction
PolySolve is a high-performance Python library for creating, manipulating, and solving polynomial functions. It provides an intuitive, object-oriented API for calculus operations and features a powerful, Numba-accelerated genetic algorithm for finding approximate real roots of polynomials of any degree.
For the default CPU solver, PolySolve uses Numba to JIT-compile and parallelize operations for a massive speedup over standard Python. For users with compatible NVIDIA hardware, it also offers optional CUDA acceleration for its genetic algorithm, delivering performance gains for large-scale parallel problems.
The core of the library is the Function object, which represents a polynomial of the form: c0xn + c1xn-1 + ... + cn.
