Skip to content

Commit

Permalink
fix: Replace \to with \mapsto due to the nonstandard meaning of `…
Browse files Browse the repository at this point in the history
…\to`

Co-authored-by: Michael Abbott <[email protected]>
  • Loading branch information
junyixu and mcabbott committed Mar 25, 2024
1 parent 4caae57 commit 27b4d09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/dev/how_it_works.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ the result. For example, to calculate the partial derivatives for the gradient o
\vdots \\
x_N + \epsilon_N
\end{bmatrix}
\to
\mapsto
f(\vec{x}_{\epsilon}) = f(\vec{x}) + \sum_{i=1}^N \frac{\delta f(\vec{x})}{\delta x_i} \epsilon_i
```

Expand All @@ -111,7 +111,7 @@ two calls to ``f`` to evaluate the gradient:
x_3 \\
x_4
\end{bmatrix}
\to
\mapsto
f(\vec{x}_{\epsilon}) = f(\vec{x}) + \frac{\delta f(\vec{x})}{\delta x_1} \epsilon_1 + \frac{\delta f(\vec{x})}{\delta x_2} \epsilon_2,
```
2nd call:
Expand All @@ -122,7 +122,7 @@ f(\vec{x}_{\epsilon}) = f(\vec{x}) + \frac{\delta f(\vec{x})}{\delta x_1} \epsil
x_3 + \epsilon_1 \\
x_4 + \epsilon_2
\end{bmatrix}
\to
\mapsto
f(\vec{x}_{\epsilon}) = f(\vec{x}) + \frac{\delta f(\vec{x})}{\delta x_3} \epsilon_1 + \frac{\delta f(\vec{x})}{\delta x_4} \epsilon_2.
```

Expand Down

0 comments on commit 27b4d09

Please sign in to comment.