R/grnd.R

Defines functions grnd

Documented in grnd

############### grnd.R ####################
## require("numDeriv")
grnd<-function(par, userfn, ...) { # using grad from numDeriv
# with Richardson method
   tryg<-grad(userfn, par, ...)
}
############### end grnd ####################

Try the optfntools package in your browser

Any scripts or data that you put into this service are public.

optfntools documentation built on May 2, 2019, 4:26 p.m.