Not wanting to re-invent the wheel, are there any open-source (or included) math libra开发者_运维问答ries in Objective-C (for iPhone) that can calculate Internal Rate of Return (IRR) or Modified Internal Rate of Return (MIRR)?
I'd hate to have to re-do all that work if someone out there has already done it.
Thanks!
GNU is another option for any kind of mathematical calculation but it is a C library so not object oriented.
http://www.gnu.org/software/gsl/
I kind of doubt that there is. Objective c just seems too theoretical and idealistic for something as dirty and practical as accounting.
You might rephrase your title (and question) to indicate that you are looking for a Financial/Accounting Library and not just a general math library. I know you mention IRR and MIRR, but if someone sees "Math Libraries" in the title, they will be thinking of a totally different kind of math. Hopefully someone who knows accounting will glance at your title and know the answer!
Edit:
This probably isn't quite what you're looking for, but QuantLib is ported to many different languages. Objective-C doesn't appear to be among them.
http://quantlib.org/index.shtml
https://stackoverflow.com/questions/1962057/are-there-any-bsd-or-lgpl-libraries-for-calculating-amortization-schedules
精彩评论