Further Examples
Load the packages:
In[1]:=
Define a simple manifold:
Define a 3d manifold M.The correspondint tangent vbundle TangentM is also defined:
In[2]:=
This is all the information associated to the manifold:
In[3]:=
|
Currently we only have one manifold:
In[4]:=
Out[4]=
It can be undefined, also removing the associated tangent vbundle:
In[5]:=
Now define a manifold with symbolic dimension and using reserved symbols as indices:
Define a constant symbol:
In[6]:=
Then we can define a manifold MC with unspecified dimension. Note that we use the Mathematica symbols C and D. The symbol E cannot be used because it has numeric value:
In[7]:=
The symbol C has been overloaded:
In[8]:=
Attributes[C]={NHoldAll,Protected} | |||||||||
|
In[9]:=
Out[9]=
Undefine the manifold:
In[10]:=
Now the additional definitions for C have been removed:
In[11]:=
Attributes[C]={NHoldAll,Protected} |
Created by Mathematica (May 16, 2008) | ![]() |