GrassmannCalculus`
ToGCoordinates |
|
| | ||||
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
For a 2-dimensional vector basis:
In[2]:=
★ℬ |
2
e
1
e
2
ToGCoordinates |
Out[2]=
3+5
e
1
e
2
Out[2]=
{3,5}
For a 4-dimensional vector basis:
In[3]:=
★ℬ |
4
e
1
e
2
e
4
ToGCoordinates |
Out[3]=
3+5-2
e
1
e
2
e
4
Out[3]=
{3,5,0,-2}
For a 2-dimensional point basis:
In[4]:=
★ |
2
e
1
e
2
ToGCoordinates |
Out[4]=
★+3+5
e
1
e
2
Out[4]=
{3,5}
For a weighted point the weight is divided out:
In[5]:=
★ |
2
e
1
e
2
ToGCoordinates |
Out[5]=
3★+3+5
e
1
e
2
Out[5]=
1,
5
3
For a 4-dimensional point basis:
In[6]:=
★ |
4
e
1
e
2
e
3
e
4
ToGCoordinates |
Out[6]=
★+3+5-2+
e
1
e
2
e
3
e
4
Out[6]=
{3,5,-2,1}
For symbolic coordinates:
In[7]:=
★ |
4
e
1
e
2
c
e
3
e
4
ToGCoordinates |
Out[7]=
★+a+Sin[b]-+
e
1
e
2
c
e
3
e
4
Out[7]=
{a,Sin[b],-,1}
c
|
|
""

