I am doing some work and the last part of it needs to be done in python. All I need is to transfer a list of numeric higher rank tensors that I generated in the mathematica notebook to python. I am trying to use external session, but I don't find in the documentation how can I carry the variables from the notebook, that is x = {tensor, tensor,...}, into the external evaluate. The documentation only shows you the other way around, a result from external evaluate to mathematica, through the output.
$\begingroup$
$\endgroup$
2
-
$\begingroup$ Please give an example of a numeric higher rank tensor. You give no Mathematica code. $\endgroup$Somos– Somos2024-01-27 23:21:07 +00:00Commented Jan 27, 2024 at 23:21
-
$\begingroup$ It is in the question: "x = {tensor, tensor, ...}" the tensors in the list start at rank1 and increase. I did not specify it further because I am looking for general solutions. $\endgroup$Felipe– Felipe2024-01-29 08:34:22 +00:00Commented Jan 29, 2024 at 8:34
Add a comment
|