Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: How to code Conjugate Gradient Method

  • To: mathgroup at
  • Subject: [mg49835] Re: How to code Conjugate Gradient Method
  • From: koopman at (Ray Koopman)
  • Date: Tue, 3 Aug 2004 01:11:07 -0400 (EDT)
  • References: <ceaqi4$ant$>
  • Sender: owner-wri-mathgroup at

jianchaoyao at (Justin) wrote in message 
news:<ceaqi4$ant$1 at>...
> 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 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

  • 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