GrassmannCalculus`
GrassmannRulePalette |
|
| | ||||
|
| | ||||
|
| | ||||
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
Set a 6-dimensional space.
In[2]:=
★A;
;
★ℬ |
6
The rules for Chapter 2 are on the following palette:
In[3]:=
GrassmannRulePalette |
Out[3]=
Grassmann Rule Palette | ||||||||||||||||||
|
A rule may be pasted into the notebook from the palette.
In[4]:=
p⋀x⋀q⋀x⋀r%/.___⋀x_⋀___⋀x_⋀___/;
[x]0
OddGradeQ |
Out[4]=
p⋀x⋀q⋀x⋀r
Out[4]=
0
The rule numbers may also be pasted into the expression or its shortcut .
GrassmannRule
★ℜ
In[5]:=
p⋀x⋀q⋀x⋀r%/.
[{2,1}]
★ℜ |
Out[5]=
p⋀x⋀q⋀x⋀r
Out[5]=
0
The rules for several chapters may be combined as in the following example:
In[6]:=
FloatPalette |
GrassmannRulePalette |
The following selects the first two rules from Chapters 2 and 3.
In[7]:=
FloatPalette |
GrassmannRulePalette |
Entering gives a palette of all the first rules from each of the chapters.
GrassmannRulePalette[All,1]
In[8]:=
GrassmannRulePalette |
Out[8]=
Grassmann Rule Palette | ||||||||||||||
|
A custom palette for a combination of selected Grassmann algebra rules and user specified rules can be constructed as in the following example.
In[9]:=
xRule=xa+b;
{2,4},x_⋀y_a_?
ax⋀y,{2,5},x_a_?
⋀y_ax⋀y,{"xRule",xa+b}
e
2
e
2
GrassmannRulePalette |
ScalarQ |
ScalarQ |
e
2
e
2
Out[9]=
Grassmann Rule Palette | ||||||
|
|
|
""

