resgr: resgr

View source: R/resJacFns.R

resgrR Documentation

resgr

Description

Computes the gradient of the sum of squares function for nonlinear least squares where resfn and jacfn supply the residuals and Jacobian

Usage

resgr(prm, resfn, jacfn, ...)

Arguments

prm

a numeric vector of parameters to the model

resfn

a function to compute a vector of residuals

jacfn

a function to compute the Jacobian of the sum of squares

...

Extra information needed to compute the residuals

Details

?? does it work with approximate Jacobian functions

Author(s)

J C Nash 2014-7-16 nashjc _at_ uottawa.ca


nlsr documentation built on Aug. 17, 2022, 1:09 a.m.