From c39281d3d77149365dbd036f357cf26e7dd8b505 Mon Sep 17 00:00:00 2001 From: Damon Bayer Date: Wed, 24 Jul 2024 18:10:02 -0500 Subject: [PATCH] Update automatic_differentiation.jmd --- _weave/lecture08/automatic_differentiation.jmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_weave/lecture08/automatic_differentiation.jmd b/_weave/lecture08/automatic_differentiation.jmd index 5c0c9711..11e24ac5 100644 --- a/_weave/lecture08/automatic_differentiation.jmd +++ b/_weave/lecture08/automatic_differentiation.jmd @@ -585,7 +585,7 @@ $f(d) = f(d_0) + Je_1 \epsilon_1 + \ldots + Je_n \epsilon_n$ computes all columns of the Jacobian simultaneously. -### Array of Structs Representation +### Struct of Arrays Representation Instead of thinking about a vector of dual numbers, thus we can instead think of dual numbers with vectors for the components. But if there are vectors for the @@ -598,7 +598,7 @@ $$\Sigma = \begin{bmatrix} d_{11} & d_{12} & \cdots & d_{1n} \\ d_{21} & d_{22} & & \vdots \\ \vdots & & \ddots & \vdots \\ - d_{m1} & \hdots & \hdots & d_{mn} + d_{m1} & \cdots & \cdots & d_{mn} \end{bmatrix}$$ $$\epsilon=[\epsilon_1,\epsilon_2,\ldots,\epsilon_m]$$