cr.sparse.opt.smooth_value_grad

cr.sparse.opt.smooth_value_grad(func, grad)[source]

Returns a function which computes both the value and gradient of a smooth function at a specified point