Skip to content

Commit

Permalink
only document the functional get_initial_step
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Aug 9, 2024
1 parent 0f9cc09 commit 596799b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/docs/NLopt_C-plus-plus_Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,9 @@ Initial step size
Just as in the C API, you can [get and set the initial step sizes](NLopt_Reference#initial-step-size) for derivative-free optimization algorithms. The C++ equivalents of the C functions are the following methods:

```
void nlopt::opt::set_initial_step(const std::vector`<double>` &dx);
void nlopt::opt::set_initial_step(const std::vector<double> &dx);
void nlopt::opt::set_initial_step(double dx);
void nlopt::opt::get_initial_step(const std::vector`<double>` &x, std::vector`<double>` &dx) const;
std::vector`<double>` nlopt::opt::get_initial_step(const std::vector`<double>` &x) const;
void nlopt::opt::get_initial_step(const std::vector<double> &x, std::vector<double> &dx) const;
```


Expand Down

0 comments on commit 596799b

Please sign in to comment.