We are going to use the BSP tools to find the minimum of f(x). Note that it's minimizer is at x == 2.0. */
| 151 | it's minimizer is at x == 2.0. |
| 152 | */ |
| 153 | double f (double x) |
| 154 | { |
| 155 | return std::pow(x-2.0, 2.0); |
| 156 | } |
| 157 | |
| 158 | // ---------------------------------------------------------------------------------------- |
| 159 |
no outgoing calls
no test coverage detected