查看完整版本: 问matrix eigen decomposition code

sleeplesspig 2006-12-18 12:20 PM

问matrix eigen decomposition code

请问谁知道哪里可以找到matrix eigen decomposition code 啊?

boost有eigen decomposition的function么?

或者其他现成的library的code?

我的情况比较麻烦. matrix是sigular的, 就是说没有n个eigen value, 有0 eigen value(s)

[[i] 本帖最后由 sleeplesspig 于 2006-12-18 11:24 AM 编辑 [/i]]

imac 2006-12-18 01:53 PM

singular不singular和evd没关系啊 :)

c++的话,去图书馆摸一本numerical recipe c++,书后光盘就应该有

网上似乎也应该很多很多很多才对...

yuxi 2006-12-18 02:12 PM

Signular value decomposition? Check SVD in numerical recipe. This might work.

Havnt done this in years... hope I remember correctly.

sleeplesspig 2006-12-18 02:49 PM

我已经有numerical recipe C的电子书,
没有c++, 其实也没关系, 谢谢了

我不知道它是否能处理eigen value=0的情况.

imac 2006-12-18 11:36 PM

还是玉玺说得到位 :) 查SVD就好了。

满弓刀 2006-12-18 11:37 PM

1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

aeolus 2006-12-18 11:49 PM

如果你只是关心最大eigen value and its eigen vector, 直接用现成求eigen value的code就够了,没必要用svd把。 if u use matlab, try pinv() for ill-conditioned matrix

[[i] 本帖最后由 aeolus 于 2006-12-18 10:50 PM 编辑 [/i]]
页: [1]
查看完整版本: 问matrix eigen decomposition code