Accelerate framework is nice if I want to do some algebra on vectors or calculate ffts.
But, unless I’m missing something, in case I want to calculate cosine (or any other trig) of values in a vector there is no way to do that with accelerate. Also, vecLib is marked as unavailable on iphone and vDSP is missing things like square roots, logarithms, trigonometric functions…
Am I really correct? o_O
If I am, how to speed up the calculations of these missing functions and take advantage of facilities accelerate is using?
The answer:
As MrMage said below, there is a vv... family of functions available in Accelerate. These include trigs, log’s, roots, etc. But no complex numbers support. Thanks MrMage!
According to the iOS 5.1 docs, at least
vvsinf(and similar functions from vecLib) are available in iOS 5.0 and later. I guess this should fulfill your needs.