| Conditions | 3 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | """Implementation of Sphere functions. |
||
| 12 | The function can be defined on any input domain but it is usually |
||
| 13 | evaluated on the hypercube x_i ∈ [0, 10], for all i = 1, 2,..., D. |
||
| 14 | |||
| 15 | Global minimum: |
||
| 16 | f(x*) = 0, at x* = (0,...,0) |
||
| 17 | |||
| 18 | LaTeX formats: |
||
| 19 | Inline: $f(x) = \sum_{i=1}^D x_i^2$ |
||
| 20 | Equation: \begin{equation}f(x) = \sum_{i=1}^D x_i^2 \end{equation} |
||
| 21 | Domain: $0 \leq x_i \leq 10$ |
||
| 49 |
Escape sequences in Python are generally interpreted according to rules similar to standard C. Only if strings are prefixed with
rorRare they interpreted as regular expressions.The escape sequence that was used indicates that you might have intended to write a regular expression.
Learn more about the available escape sequences. in the Python documentation.