SamplePublisher`GrassmannCalculus`
ToGrassmannCoordinateForm |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
Create a 2 dimensional set of linear equations.
In[2]:=
SetCoordinateVectorSpace |
★★S |
The equation would normally be composed in coordinate form but here we write it in expanded form and then put it in coordinate form.
In[3]:=
ComposeGrassmannLinearEquation |
ToGrassmannCoordinateForm |
Out[3]=
ax+by+cx+dyf1+f2
e
x
e
x
e
y
e
y
e
x
e
y
Out[3]=
x(a+c)+y(b+d)f1+f2
e
x
e
y
e
x
e
y
e
x
e
y
To solve an equation system by the Grassmann method we have to define the coordinate-elements. These are the C's in equation 2.32 in the book. This will be explained on the page. The routine uses the Grassmann method and back substitution for an efficient solution. This will be explained in more detail on its page.
In[4]:=
DefineCoordinateElements |
SolveGrassmannCoordinateForm |
Out[4]=
x,y
df1-bf2
-bc+ad
cf1-af2
bc-ad
Out[4]=
True
|
""

