I looked around for a SVD library to be used in a C-code for Xcode. I found svdcmp.c (from the Numerical Recipes in computing) but its very very slow. I have found other SVD libraries such as SVDLIBC and CLAPACK. But they have to be compiled by the terminal. Is there a way of compiling them in Xcode? Or there might be another library present?
Share
in xcode you can include/add the accelerate/accelerate.h framework to your project. than you have access to CLAPACK which is the c version available. gdesvd_ is the function you are looking for.