質問
私はCで特異値分解(SVD)コードを探しています、あなたは私を助けてくださいか?
私は多くの情報源を見つけましたが、私はそれらを実行することができません、私は私のために3つのマトリックスのS、V、そしてUを提供するバージョンSVDコードを探しています。
解決
You can use the Numerical recipies code for that svdcmp.c reference. Actually in my case I found more accurate the openCV one, but both work fine.
他のヒント
Don't write it yourself, don't deal with trying to build someone else's source. Use a library that provides this function for you. There's probably already one available on your target platform.
Specifically, use the industry-standard LAPACK library or use the GSL or whatever other linear algebra library you want. They all have an SVD implementation.
所属していません StackOverflow