func (m *multiGradStruct) SetResult() { optimize.SetResult(m.loc, m.grad, m.obj) setResulter, ok := m.optimizer.(optimize.SetResulter) if ok { setResulter.SetResult() } }
func (u *uniGradStruct) SetResult() { optimize.SetResult(u.loc, u.grad, u.obj) //u.result.CommonResult = c setResulter, ok := u.optimizer.(optimize.SetResulter) if ok { setResulter.SetResult() } }
func (lbfgs *Lbfgs) SetResult() { optimize.SetResult(lbfgs.step) }
func (c *Cubic) SetResult() { optimize.SetResult(c.step) }