Skip to content

Commit 27b4d09

Browse files
junyixumcabbott
andcommitted
fix: Replace \to with \mapsto due to the nonstandard meaning of \to
Co-authored-by: Michael Abbott <[email protected]>
1 parent 4caae57 commit 27b4d09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/dev/how_it_works.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ the result. For example, to calculate the partial derivatives for the gradient o
8686
\vdots \\
8787
x_N + \epsilon_N
8888
\end{bmatrix}
89-
\to
89+
\mapsto
9090
f(\vec{x}_{\epsilon}) = f(\vec{x}) + \sum_{i=1}^N \frac{\delta f(\vec{x})}{\delta x_i} \epsilon_i
9191
```
9292

@@ -111,7 +111,7 @@ two calls to ``f`` to evaluate the gradient:
111111
x_3 \\
112112
x_4
113113
\end{bmatrix}
114-
\to
114+
\mapsto
115115
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,
116116
```
117117
2nd call:
@@ -122,7 +122,7 @@ f(\vec{x}_{\epsilon}) = f(\vec{x}) + \frac{\delta f(\vec{x})}{\delta x_1} \epsil
122122
x_3 + \epsilon_1 \\
123123
x_4 + \epsilon_2
124124
\end{bmatrix}
125-
\to
125+
\mapsto
126126
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.
127127
```
128128

0 commit comments

Comments
 (0)