Problem with svd?

11 views
Skip to first unread message

Magnus MacHale-Gunnarsson

unread,
Jan 13, 2021, 4:52:37 AMJan 13
to efficient-java-matrix-library-discuss
Hello everybody and especially Peter,

I first want to express my gratitude for this project. It is awesome!

I am trying to do a Singular Value Decomposition (using SimpleMatrix). When I use Apache Commons Math3 it works, but with EJML I get "Decomposition failed". What do you need from me to be able to find the problem?

Best regards,

  MagnusMG

Magnus MacHale-Gunnarsson

unread,
Jan 13, 2021, 9:48:30 AMJan 13
to efficient-java-matrix-library-discuss
Sorry, forget about that. The matrix I used had NaN in every cell...

  MagnusMG

Peter A

unread,
Jan 13, 2021, 10:37:10 AMJan 13
to efficient-java-mat...@googlegroups.com
No problem! I've considered adding sanity checks to see if there are NaN on input, but that is too expensive when dealing with small matrices. There is a built in function for that check in MatrixFeatures.

--
You received this message because you are subscribed to the Google Groups "efficient-java-matrix-library-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to efficient-java-matrix-li...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/efficient-java-matrix-library-discuss/00865e1f-d384-43eb-b69c-ee01f3ebe736n%40googlegroups.com.


--
"Now, now my good man, this is no time for making enemies."    — Voltaire (1694-1778), on his deathbed in response to a priest asking that he renounce Satan.
Reply all
Reply to author
Forward
0 new messages