gonum
gonum copied to clipboard
optimize: add sphere function
Added the sphere function and gradient computation.
Checklist:
- API changes have been discussed --- Does not apply
- code is goformated correctly (goimports) --- Yes
- packages with generated code have had code generation run --- Does not apply
- tests pass locally --- Yes
- linked to relevant issues --- Does not apply