cr.sparse.opt.smooth_build3

cr.sparse.opt.smooth_build3(func, grad, grad_val)

Creates a a smooth function with user defined grad and grad_val functions

Parameters
  • func – Definition of the smooth function f:RnR

  • grad – Definition of the gradient g=f:RnRn

  • grad_val – Definition of a combined function which computes the pair (g(x),f(x))

Returns

A smooth function wrapper

Return type

SmoothFunction