Bignum, linear algebra and digital signal processing on iPhone OS (iOS 4)

I think I found some jewelry in the iPhone OS (iOS 4).


I found that there are 128-bit, 256-bit, 512-bit, and 1024-bit integer data types provided by Structure Acceleration . In addition, Apple implements Basic Linear Algebra (BLAS) routines, Apple LACKACK (Linear Algebra PACKage), and Digital Signal Processing (DSP) routines.


I am so excited because BLAS and LAPACK are the best (and most famous) libraries as far as I know. (If you have never heard their names, just Google them and you will understand.) They allow you to solve linear equations (i.e. A x = b in vector / matrix notation), do fast matrix multiplications, and much more.


I am quite sure that the libraries are available both on PowerPC and Intel-based computers. However, when I look at the "What's New in iOS4" documentation in Xcode, it says that the data types are "not supported in any architecture." When I compare the vecLib Reference for Mac OS X and the vecLlib Reference for iOS , I also found that there are no features in the iOS version.


My question is:
Has anyone compiled any program using these libraries (bignum is my main area of ​​interest) and run them successfully on a real iPhone? (Respondents who can demonstrate their actual experience in the library (s) are more valued.)

Here are the links to the help library:
Structure Acceleration (iOS Reference Library)
VecLib Reference (Mac OS X Reference Library)
VecLib Reference (iOS Reference Library)


Here are the official BLAS and LAPACK FAQs:
FAQ BLAS
LAPACK Questions

+6
objective-c iphone blas bignum lapack
source share
2 answers

I did some work in OpenCV based on the Yoshimasa Niwa project here:

http://niw.at/articles/2009/03/14/using-opencv-on-iphone/en

Its current code is built using the Accelerate framework (see user fixes).

+1
source share

Although I haven’t used Accelerate in a delivery application yet, I’ve gotten a lot of Apple’s WWDC 2010 session - Acceleration View for iPhone OS. "If you are interested in this framework, I highly recommend watching this video.

While many of these features can be used on the iPhone, not all of them have been ported. In iOS 4.0, only vDSP, BLAS, and LAPACK are available, although it seems that others may join them soon.

Although written for Mac, "Taking advantage of the Accelerate Framework" provides a good introduction to the structure, in addition to the resources you list above.

+2
source share

All Articles