optim LRC
LRC_optimLRC(theta, iOpt, sdParameterPrior, ..., ctrl, isUsingHessian)
numeric vector of parameters
integer vector of positions of parameters that are optimized
numeric vector of standard deviation of parameterPrior
other arguments to LRC_computeCost()
list of further controls
scalar boolean: set to TRUE to compute Hessian at optimum
list of result of optim()
amended with list