Re: [R] Gradient function for optim.

2009-03-02 Thread rkevinburton
Thank you. I saw the source. But I am not sure how to get from 
.Internal(optim(...)) to fmingr.

Kevin

 Katharine Mullen k...@few.vu.nl wrote: 
 see the fmingr function in src/main/optim.c
 (https://svn.r-project.org/R/trunk/src/main/optim.c)
 
 On Wed, 25 Feb 2009 rkevinbur...@charter.net wrote:
 
  I have read that when the gradient function is not supplied (is null)
  then first order differencing is used to find the differential. I was
  trying to track down this for my own information but I run into
  .Internal(optim.). I was not sure where to look next to see the
  function that is automatically supplied for the gradient.
 
  Thank you.
 
  Kevin
 
  __
  R-help@r-project.org mailing list
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Gradient function for optim.

2009-02-25 Thread Katharine Mullen
see the fmingr function in src/main/optim.c
(https://svn.r-project.org/R/trunk/src/main/optim.c)

On Wed, 25 Feb 2009 rkevinbur...@charter.net wrote:

 I have read that when the gradient function is not supplied (is null)
 then first order differencing is used to find the differential. I was
 trying to track down this for my own information but I run into
 .Internal(optim.). I was not sure where to look next to see the
 function that is automatically supplied for the gradient.

 Thank you.

 Kevin

 __
 R-help@r-project.org mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.