Root of polynomial equation with rational exponents

gver

Member
Hi .. I am working on IRR calculations and setting it up as a polynomial with exponent for each cashflow as the daytime fraction .. so it could be something like

5x(0.99) + 4x(0.76) + .... = 0

I tried using some python libraries (numpy etc) to find the solution but they are taking substantial time. Is there a good python lib/package that someone can refer,

Thanks
 

Daniel Duffy

C++ author, trainer
Off the top of my head

numba to parallelise code for each flow
Which solver does IRR use?

And is your own code efficient?
 
Top