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

ConjugateGradient with zero rhs

Tags: None
(comma "," separated)
n2k
Registered Member
Posts
41
Karma
0

ConjugateGradient with zero rhs

Sat Dec 08, 2012 3:09 am
Hi guys,

on Mx=b, ConjugateGradient does not seem to converge for |b|=0. Clearly solving the system for |b|=0 is silly but, for a SPD M, wouldn't be better to return the solution x=0 immediately, rather than going into the loop and raising NoConvergence? Am I missing something?

Thanks.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]