4
$\begingroup$

Please see the below question. This is what I need to implement in Mathematica.

Ques

$\endgroup$
1

1 Answer 1

4
$\begingroup$

Does it answer your question?

f={{l x[1],0},{0,l(x[1]+x[2])}};
g[μ_]:=Sum[f[[μ,κ]]D[f[[ν,κ]],x[ν]],{ν,2},{κ,2}]
g[1]
Out[1]= l^2 x[1]
$\endgroup$
1
  • $\begingroup$ Exactly. This is what I want. $\endgroup$
    – Jasmine
    Sep 9, 2020 at 2:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.