GrassmannCalculus`
GradedToSubscriptedScalar |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
In[2]:=
★A;
The basic usage is:
In[3]:=
p
0
GradedToSubscriptedScalar |
Out[3]=
p
0
Out[3]=
p
0
Only scalars are converted
In[4]:=
Table,{i,0,4}%//
p
i
GradedToSubscriptedScalar |
Out[4]=
,,,,
p
0
p
1
p
2
p
3
p
4
Out[4]=
,,,,
p
0
p
1
p
2
p
3
p
4
Multigraded symbols are not converted, even if they are scalars.
In[5]:=
,%//
p
{0}
p
{0,1,2}
GradedToSubscriptedScalar |
Out[5]=
,
p
{0}
p
{0,1,2}
Out[5]=
,
p
{0}
p
{0,1,2}
However, these could be first expanded with .
ComposeGradedForm
In[6]:=
,%//
%//
%//
p
{0}
p
{0,1,2}
ComposeGradedForm |
GradedToSubscriptedScalar |
GradedToSubscriptedVector |
Out[6]=
,
p
{0}
p
{0,1,2}
Out[6]=
,++
p
0
p
0
p
1
p
2
Out[6]=
,++
p
0
p
0
p
1
p
2
Out[6]=
,++
p
0
p
0
p
1
p
2
A 2D symbol has a subscript added.
In[7]:=
,,%//
a
0
a
3
0
OverHat[a]
0
GradedToSubscriptedScalar |
Out[8]=
,,
a
0
a
3
0
a
0
Out[9]=
,,
a
0
a
3,0
a
0
""

