Learn R Programming

ROI (version 0.2-1)

G: Extract Gradient information

Description

Extract the gradient from its argument (typically a ROI object of class "objective").

Usage

G(x, ...)

Arguments

x
an object used to select the method.
...
further arguments passed down to the grad() function for calculating gradients (only for "F_objective").

Value

a "function".