John Frankes
John Frankes

Reputation: 43

Math Libraries for Objective - C to be used in Iphone projects

Not wanting to re-invent the wheel, are there any open-source (or included) math libraries 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!

Upvotes: 1

Views: 2274

Answers (2)

Ilker Baltaci
Ilker Baltaci

Reputation: 11789

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/

Upvotes: 1

Ben Gartner
Ben Gartner

Reputation: 14923

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

Upvotes: 0

Related Questions