SamplePublisher`GrassmannCalculus`
ScaleGrassmannLinearEquation |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
In[2]:=
SetCoordinateVectorSpace |
Compose a 3-dimensional equation system and display it in equation form
In[3]:=
GE=
[{{12,-7,-28},{6,-3,-18},{3,-2,-6}},{a,b,c}]GEE=
[GE]
ComposeGrassmannLinearEquation |
ToGrassmannEquationForm |
Out[3]=
z(-28-18-6)+y(-7-3-2)+x(12+6+3)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]=
(12x-7y-28z)+(6x-3y-18z)+(3x-2y-6z)a+b+c
e
x
e
y
e
z
e
x
e
y
e
z
The following scales the equation so that the coefficient of is 1.
e
x
x
In[4]:=
ScaleGrassmannLinearEquation |
e
x
Out[4]=
x--+(6x-3y-18z)+(3x-2y-6z)+b+c
7y
12
7z
3
e
x
e
y
e
z
a
e
x
12
e
y
e
z
The following scales all three equations.
In[5]:=
Fold
[#1][#2]&,GEE,{{,x},{,y},{,z}}
ScaleGrassmannLinearEquation |
e
x
e
y
e
z
Out[5]=
x--+(-2x+y+6z)+-++z--
7y
12
7z
3
e
x
e
y
x
2
y
3
e
z
a
e
x
12
b
e
y
3
c
e
z
6
|
""

