You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,16 @@ The package aims at establishing common ground for [Optim.jl](https://github.com
20
20
## NDifferentiable
21
21
There are currently three main types: `NonDifferentiable`, `OnceDifferentiable`, and `TwiceDifferentiable`. There's also a more experimental `TwiceDifferentiableHV` for optimization algorithms that use Hessian-vector products. An `NDifferentiable` instance can be used to hold relevant functions for
22
22
23
-
- Optimization: 
24
-
- Solving systems of equations: 
23
+
- Optimization: $F : \mathbb{R}^N \to \mathbb{R}$
24
+
- Solving systems of equations: $F : \mathbb{R}^N \to \mathbb{R}^N$
25
25
26
26
The words in front of `Differentiable` in the type names (`Non`, `Once`, `Twice`) are not meant to indicate a specific classification of the function as such (a `OnceDifferentiable` might be constructed for an infinitely differentiable function), but signals to an algorithm if the correct functions have been constructed or if automatic differentiation should be used to further differentiate the function.
27
27
28
28
## Examples
29
29
#### Optimization
30
30
Say we want to minimize the Hosaki test function
31
31
32
-

If we consider the gradient of the Himmelblau function above, we can try to solve without caring about the objective value. Then we can still create `NDifferentiable`s, but we need to specify the cache to hold the value of . Currently, the only relevant ones are `NonDifferentiable` and `OnceDifferentiable`. `TwiceDifferentiable` could be used for higher order (tensor) methods, though they are rarely worth the cost. The relevant functions coded in Julia are:
68
+
If we consider the gradient of the Himmelblau function above, we can try to solve $\nabla F(x) = 0$ without caring about the objective value. Then we can still create `NDifferentiable`s, but we need to specify the cache to hold the value of $\nabla F(x)$. Currently, the only relevant ones are `NonDifferentiable` and `OnceDifferentiable`. `TwiceDifferentiable` could be used for higher order (tensor) methods, though they are rarely worth the cost. The relevant functions coded in Julia are:
0 commit comments