Further Examples
In[1]:=
Define a 3d manifold M and a parameter time:
In[2]:=
In[3]:=
Define a contravariant vector v on M:
In[4]:=
In[5]:=
Out[5]=
Define a symmetric two-covariant tensor g on M:
In[6]:=
In[7]:=
Out[7]=
In[8]:=
|
Define a time-dependent scalar field on M, with special output:
In[9]:=
In[10]:=
Out[10]=
The variable $Tensors contains the list of all defined tensors:
In[11]:=
Out[11]=
Tidy up:
In[12]:=
In[13]:=
Created by Mathematica (May 16, 2008) |