Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+2 votes

Hi! i would like to ask if there is anyway to implement exp(\Phi) where \Phi(x) is a scalar field in cadabra 2x and work with it. Is it the chain rule also available? thank you,

Bye

in General questions by

Can you elaborate on what you mean with 'work with it'? What kind of thing would you like to do?

What I mean is if you define

{\mu,\nu}::Indices;
\partial{#}::PartialDerivative;
\phi::Depends(\partial{#});
ex:=\partial_{\mu}{e**(\phi)};

and you apply the product_rule to it, an unexpected result appears:

\phi e**(\phi -1) \partial_{\mu}{e}.    

Im not sure if this is a bug or I am implementing in a wrong way the exponential function.

Please log in or register to answer this question.

...