SamplePublisher`GrassmannCalculus`
ExtractGrassmannEquation |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
Create a 3 dimensional set of linear equations.
In[2]:=
SetCoordinateVectorSpace |
In[3]:=
step1=
[{{15,40,-8},{-3,-4,1},{-3,-10,2}},{a,b,c}]%//
ComposeGrassmannLinearEquation |
ToGrassmannEquationForm |
Out[3]=
y(40-4-10)+x(15-3-3)+z(-8++2)a+b+c
e
x
e
y
e
z
e
x
e
y
e
z
e
x
e
y
e
z
e
x
e
y
e
z
Out[3]=
(15x+40y-8z)+(-3x-4y+z)+(-3x-10y+2z)a+b+c
e
x
e
y
e
z
e
x
e
y
e
z
The following extracts the three equations, which are tagged by the primary grade 1 basis elements.
In[4]:=
ExtractGrassmannEquation |
Out[4]=
{15x+40y-8za,-3x-4y+zb,-3x-10y+2zc}
We now do a Grassmann elimination of the variable.
z
In[5]:=
DefineCoordinateElements |
FastExteriorExpand |
ToGrassmannCoordinateForm |
Out[5]=
2y(4⋀+⋀)-3x(3⋀-2⋀+⋀)(a+8b)⋀+2(a+4c)⋀+(2b-c)⋀
e
x
e
y
e
y
e
z
e
x
e
y
e
x
e
z
e
y
e
z
e
x
e
y
e
x
e
z
e
y
e
z
The equations are now tagged by the elements.
GradeBasis[2]
In[6]:=
ExtractGrassmannEquation |
GradeBasis |
Out[6]=
{-9x+8ya+8b,6x2(a+4c),-3x+2y2b-c}
|
""

