MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to code Conjugate Gradient Method


jianchaoyao at hotmail.com (Justin) wrote in message 
news:<ceaqi4$ant$1 at smc.vnet.net>...
> I need to write the Conjugate Gradient Method with Mathematica. I
> wanna use this method to find the minimum of a function. I tried the
> FindMinum already but it seems like this function can't work well. It
> always says:
> 
> FindMinimum::nnum: The function value ....is not a number at ....
> 
> The variables I used are all matrices. Does FindMinimum not work for
> matrix?
> 
> Any guys has such an experience? If FindMinimum can't work, how to
> write the Conjugate Gradient Method?
  
Have a look at "An Introduction to the Conjugate Gradient Method
Without the Agonizing Pain", by Jonathan Richard Shewchuk
  
http://www.bmen.tulane.edu/~rth/painless-conjugate-gradient.pdf


  • Prev by Date: vector integral
  • Next by Date: Re: NthPermutation: how to change output format?
  • Previous by thread: Re: vector integral
  • Next by thread: Changing ErrorBar colors but keeping serifs