Knodel
Knodel

Reputation: 4389

Objective-C: How to solve a system of equations?

I need to write an app in Obj-C which solves systems of linear equations (the equations are entered by the user). What is the algorithm for this?

Thanks in advance!

Upvotes: 2

Views: 1124

Answers (1)

diciu
diciu

Reputation: 29333

You could write a thin Objective-C wrapper on top of (c)lapack. See Computational Routines for Linear Equations in LAPACK

clapack should already be available in the iPhone, as part of the Accelerate framework (Accelerate contains vecLib which in turns contains clapack).

Upvotes: 5

Related Questions