문제

If we take a look under the umbrella of Accelerate Framework we will see several libraries: Accelerate Framework

I know that BLAS and LAPACK are open source and that the same code used otherwhere can be compiled against Accelerate. But what about vForce, vMathLib (and other in vMisc) and vDSP? Is there any open source equivalent for those libraries?

EDIT:

Let me elaborate it a little more (only know I have knowledge enough to do so). Basically, vDSP, vFoce and vMathLib are vector oriented libraries. So, if we have a vector and want to calculate a component-wise function over it, say sin() and cos(), it is faster to use vvsincos() from Accelerate because it will pipeline the calculations of sin() and cos() for all the entries in the vector, which is faster than using a for loop over the vector. Simply expanding those functions in Taylor-series and using trigonometric relations, we see that there are several repetitive calculations going on and the framework tries to avoid this.

This is the same for FFT under vDSP and so forth

Than, my problem is: what is the BEST open source equivalent to this? And if I develop my project under Accelerate, how can I distribute it using open source tools without needing to rewrite my code?

도움이 되었습니까?

해결책

Stephen Canon (@stephencanon) was kind enough to answer me on twitter:

"OpenCV provides some of the vImage functionality and the GSL has some overlap with vDSP. Neither is a complete equivalent and neither is interface-compatibile, so no drop-in replacement like there is with BLAS/LAPACK."

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top