Skip to content

Commit

Permalink
small docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
FilippoAiraldi committed Dec 8, 2023
1 parent 1a49326 commit f099776
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/globopt/myopic/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ def go(
----------
func : callable with 2d array adn returns array_like
The (possibly, unknown) function to be minimized via GO. It must take as input
a 2d array of shape `(n_points, dim)` and return a 1d array_like of shape. The
input represents the points at which the function must be evaluated, while the
output is the value of the function at those points.
a 2d array of shape `(n_points, dim)` and return a 1d array_like of shape
`(n_points,)`. Given the points at which the function must be
evaluated, the callable outputs the value of the function at those points.
lb, ub : 1d array
Lower and upper bounds of the search space. The dimensionality of the search
space is inferred from the size of `lb` and `ub`.
Expand Down
8 changes: 4 additions & 4 deletions src/globopt/nonmyopic/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ def nmgo(
Parameters
----------
func : callable with 2d array adn returns array_like
func : callable with 2d array and returns array_like
The (possibly, unknown) function to be minimized via GO. It must take as input
a 2d array of shape `(n_points, dim)` and return a 1d array_like of shape. The
input represents the points at which the function must be evaluated, while the
output is the value of the function at those points.
a 2d array of shape `(n_points, dim)` and return a 1d array_like of shape
`(n_points,)`. Given the points at which the function must be
evaluated, the callable outputs the value of the function at those points.
lb, ub : 1d array
Lower and upper bounds of the search space. The dimensionality of the search
space is inferred from the size of `lb` and `ub`.
Expand Down

0 comments on commit f099776

Please sign in to comment.