• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Root of polynomial equation with rational exponents

Joined
5/12/12
Messages
62
Points
18
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
 
Off the top of my head

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

And is your own code efficient?
 
Back
Top