GrassmannCalculus`
UserScalarSymbols (★★s) |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
Set the Grassmann plane.
In[2]:=
SetActiveSpacePreferences |
PublicGrassmannAtlas |
The user , , and combined are:
ScalarSymbols
GrassmannCoordinates
ScalarCoordinates
In[3]:=
★★s
GrassmannCoordinates |
★s |
Out[3]=
{a,b,c,d}
Out[3]=
{x,y}
Out[3]=
{a,b,c,d,x,y}
The following clears the leaving only the coordinates on the list of .
UserScalarSymbols
ScalarSymbols
In[4]:=
DeclareUserScalarSymbols[{}]★★s
★s |
Out[4]=
{}
Out[4]=
{x,y}
Set a coordinate system.
In[5]:=
SetActiveSpacePreferences |
PublicGrassmannAtlas |
Declare a set of user scalars. These may be entered with or without List brackets.
In[6]:=
DeclareUserScalarSymbols[,,]UserScalarSymbolsScalarSymbols
Out[6]=
{,,}
Out[6]=
{x,y,z,,,}
Add some extra symbols using the shortcut for .
DeclareExtraScalarSymbols
In[7]:=
★★S |
Out[7]=
{a,b,c,d,,}
Out[7]=
{a,b,c,d,x,y,z,,}
If we expect to come back to this we can save it.
CurrentGrassmannAssociation
In[8]:=
saveAssociation=CurrentGrassmannAssociation;
Each Grassmann Association comes with its own set of user scalar symbols. Any previously changed symbols will be lost. Now set a different Grassmann Association.
In[9]:=
SetActiveSpacePreferences |
PublicGrassmannAtlas |
Out[9]=
{a,b,c,d}
Out[9]=
{a,b,c,d,x,y,z}
We can restore the previous system with its symbols using:
In[10]:=
SetActiveSpacePreferences |
Out[10]=
{,,,,}
Out[10]=
{x,y,z,,,,,}
|
""

