Welcome to the KDE Community Forums, the official forum board for KDE.
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
You are currently viewing the forums as an unregistered user. Registration allows you to post and discuss topics, receive private messages, vote on ideas, subscribe to topics and many such great features. Registration is a simple process and completely free. So register now and be a part of the community!
SVD in devel branch
4 posts • Page 1 of 1
SVD in devel branch
This example fails with an assertion in the devel branch.
Is there any workaround for this?
- Code: Select all
bool test(int m=100, int n=10)
{
MatrixXd A = MatrixXd::Random(m, n);
VectorXd b(m), x(n);
return A.svd().solve(b, &x);
}
Is there any workaround for this?
Re: SVD in devel branch
Thanks for the report, i committed a tentative fix, can you try (in the default branch)?
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list!
Have a serious interest in Eigen? Then join the mailing list!
Re: SVD in devel branch
Works like a charm 

Re: SVD in devel branch
Thanks for the feedback. Hint: do check that the result is sane (A*x approximately equal to b) because obviously our unit-test here is lacking, otherwise this bug wouldn't have existed in the first place.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list!
Have a serious interest in Eigen? Then join the mailing list!
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests

Search
FAQ
Policy
KDE.org
KDE.news
Planet KDE
More 