This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Square root Matrix LLT, bug maybe?

Tags: None
(comma "," separated)
varangamaiky
Registered Member
Posts
1
Karma
0

Square root Matrix LLT, bug maybe?

Tue Dec 21, 2010 5:11 pm
I just started to use this library. It is real cool,but somehow it gives a NAN if you try to find a square root matrix of say:
[ 0 0
0 4 ]
jitseniesen
Registered Member
Posts
204
Karma
2
I'm not sure what you're doing. One guess for your issue is that the LLT class assumes that the matrix is positive definite. Your matrix is only semi-definite. You should probably use the LDLT class.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft