Skip to content

Commit 8ed858c

Browse files
Merge pull request #143 from damonbayer/patch-1
Fix Struct of Arrays section
2 parents 66bdde3 + c39281d commit 8ed858c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_weave/lecture08/automatic_differentiation.jmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ $f(d) = f(d_0) + Je_1 \epsilon_1 + \ldots + Je_n \epsilon_n$
585585

586586
computes all columns of the Jacobian simultaneously.
587587

588-
### Array of Structs Representation
588+
### Struct of Arrays Representation
589589

590590
Instead of thinking about a vector of dual numbers, thus we can instead think of
591591
dual numbers with vectors for the components. But if there are vectors for the
@@ -598,7 +598,7 @@ $$\Sigma = \begin{bmatrix}
598598
d_{11} & d_{12} & \cdots & d_{1n} \\
599599
d_{21} & d_{22} & & \vdots \\
600600
\vdots & & \ddots & \vdots \\
601-
d_{m1} & \hdots & \hdots & d_{mn}
601+
d_{m1} & \cdots & \cdots & d_{mn}
602602
\end{bmatrix}$$
603603

604604
$$\epsilon=[\epsilon_1,\epsilon_2,\ldots,\epsilon_m]$$

0 commit comments

Comments
 (0)