Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java SVD as defined by wikipedia

Tags:

java

svd

I'm looking for a java library that performs singular value decomposition as descibed in wikipedia: from a matrix A (m X n) get A = U*S*V' where U is m x m, S is m x n and V is n x n.

Anyone can help me ?

Plese don't answer colt or jama because their definition of svd are different from wikipedia's one. In fact colt returns A = U*S*V' where U is m x n, S is n x n and V is n x n.

Alternativley how can I calculate wikipedia's svd using colt ?

Thanks

like image 254
dacanalr Avatar asked May 28 '26 20:05

dacanalr


1 Answers

The JavaDoc for singular decomposition methods from jblas seems to adhere to the definition as you require it at first sight, but I think you'd have to test to get any certainty.

Another one is Universal Java Matrix Package, but looking through the JavaDoc is quite bewildering and makes me fear somewhat for its design (interface for defining getters and setters?!)

like image 107
G_H Avatar answered May 31 '26 11:05

G_H



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!