TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introduction to the Conjugate Gradient Method Without Agonizing Pain (1994) [pdf]

71 pointsby chmikealmost 2 years ago

6 comments

trostaftalmost 2 years ago
I remember being handed this back when I was taking numerical analysis for the first time. It&#x27;s an old document, but still useful.<p>IMO the critical pieces of CG that make it a favorable choice for many problems in scientific computing are<p>1) the fact that it can be performed matrix free<p>2) its rapid convergence behavior on operators with clusters of eigenvalues (useful for low rank structures)<p>Thet being said, practically speaking, even if I know my operator is positive semi definite, I often find minres out performing cg. There&#x27;s a nice paper comparing that, &quot;CG versus MINRES: An Empirical Comparison&quot;.
评论 #37110518 未加载
fastneutronalmost 2 years ago
Shewchuk’s work on mesh generation is nothing short of a masterpiece. I will always direct people to the source of his Triangle code as an example of what good, literate C code should look like. His Berkeley page is here: <a href="https:&#x2F;&#x2F;people.eecs.berkeley.edu&#x2F;~jrs&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;people.eecs.berkeley.edu&#x2F;~jrs&#x2F;</a>
评论 #37113706 未加载
mnw21camalmost 2 years ago
I cited this in my doctoral thesis. I&#x27;m not sure the title is accurate though. It doesn&#x27;t manage to remove the &quot;this bit is magic, just do the exact incantations and it&#x27;ll work out&quot; feel from it.
aqme28almost 2 years ago
Important to note that this method only works on Hermitian (usually AKA symmetric) and positive-definite matrices, both of which are often pretty big qualifiers.
评论 #37112437 未加载
hazrmardalmost 2 years ago
Thank you! I first came across Conjugate Gradient when reviewing the paper on Neural Ordinary Differential Equations. It was quite challenging to parse through that math. This helps.
gh02talmost 2 years ago
Hah, my professor was using this as a reference in my numerical methods class circa 2010. It&#x27;s a great one, highly recommended.