emsr / polynomial

A C++ polynomials and related algorithms.
6 stars 3 forks source link

Make low degree solvers work with complex numbers. #7

Open emsr opened 5 years ago

emsr commented 5 years ago

Make low degree solvers work with complex numbers. If they don't already.

emsr commented 3 years ago

The algorithms should actually pretty much just work. Making things generic might be a trick. I quadratic there's a test and a branch to prevent loss of precision - making that complex-aware might take a minute.