- #1
- 27
- 0
Hi.
In Mathematica I have tensor T for example
In[]:=Dimensions[T]
Out[]:={3,3,4}
now i have index of some element in the List form
index={1,2,3}
Now I want to use the element whose index is in variable index. How can I do it?
In Mathematica I have tensor T for example
In[]:=Dimensions[T]
Out[]:={3,3,4}
now i have index of some element in the List form
index={1,2,3}
Now I want to use the element whose index is in variable index. How can I do it?