Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Campos <mail@ruicampos.org>
  • Loading branch information
RuiFilipeCampos authored Mar 27, 2024
1 parent 8918eed commit 1534632
Showing 1 changed file with 4 additions and 22 deletions.
26 changes: 4 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,33 +182,16 @@ $$

Gradient with respect with the metric coordinates:





$$
\begin{aligned}
\partial_{M^{n'}_ {k'''k''''}} r^{bncc'} &= \partial_{M^{n'}_{k'''k''''}} p^{bnck} p^{bnc'k'} M^{n} _{kk'} \\
&= p^{bnck} p^{bnc'k'} \partial _{M^{n'} _{k'''k''''}} M^{n} _{kk'} \\
&= p^{bnck} p^{bnc'k'} \delta^{nn'} \delta ^ {kk'''} \delta^{k'k''''} \\
\partial_{M^{n}_ {l'}} r^{bnu} &= \delta_{ll'} p^{bnf(u)f(l)} p^{bnf(u)f(l)} \delta^{f(l)g(l)} \delta^{f(u)g(u)} \\
&\quad + 2 \delta_{ll'} p^{bnf(u)f(l)} p^{bng(u)f(l)} \delta^{f(l)g(l)} \tilde \delta^{f(u)g(u)} \\
&\quad + 2 \delta_{ll'} p^{bnf(u)f(l)} p^{bnf(u)g(l)} \delta^{f(u)g(u)} \tilde \delta^{f(l)g(l)} \\
&\quad + 4 \delta_{ll'} p^{bnf(u)f(l)} p^{bng(u)g(l)} \tilde \delta^{f(u)g(u)} \tilde \delta^{f(l)g(l)}
\end{aligned}
$$


which can be rewritten with

$$
\partial_{M^{n}_ {kk'}} r^{bncc'} = p^{bnck} p^{bnc'k'}
$$

and finally

$$
\partial_{\bar M^n_l} r^{bnu} = p^{bnf(u)f(l)} p^{bng(u)g(l)}
$$



Gradient with respect to the input coordinates


Expand Down Expand Up @@ -420,4 +403,3 @@ This notation helps us keep track of tensor shapes throughout our code, making i




0 comments on commit 1534632

Please sign in to comment.