ekmett/ad — pull request #27 by cscherrer (2013-05-18 05:51:13+00:00)
Title: Fixed conjugate gradient search

Modified conjugate gradient code to use Nonlinear Conjugate Gradients with Newton-Raphson and Fletcher-Reeves, as described in sec B4 of Jonathon Shewchuk's "An introduction to the Conjugate Gradient Method Without the Agonizing Pain".

Made CG ascent primary, getting rid of double negation.