SamplePublisher`GrassmannCalculus`
FastZeroQ |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
The following evaluates random cases in 6-dimensional space. If rank is less than grade True will be returned, If it will return .
rankgrade
False
In[2]:=
SetBookVectorSpace |
RandomGrassmannMatrix |
FastZeroQ |
FastZeroQ |
Out[2]=
(-7085-2040+149-78-76+5399)⋀(906+261-19+10+10-690)⋀(1881+543-39+21+23-1429)⋀(94+27-2++-72)
e
1
e
2
e
3
e
4
e
5
e
6
e
1
e
2
e
3
e
4
e
5
e
6
e
1
e
2
e
3
e
4
e
5
e
6
e
1
e
2
e
3
e
4
e
5
e
6
Out[2]=
True
Out[2]=
time per evaluation0.0001560003
It will also work for products with symbolic scalars, but not symbolic non-Basis vectors.
In[3]:=
SetBookVectorSpace |
FastZeroQ |
ZeroQ |
Out[3]//MatrixForm=
a | 2 | b | c |
a | b | 4 | a |
a 2 | 2 | b | 3c |
Out[3]=
(a+2+b+c)⋀(a+b+4+a)⋀+2+b+3c
e
1
e
2
e
3
e
4
e
1
e
2
e
3
e
4
a
e
1
2
e
2
e
3
e
4
Out[3]=
{0.,False}
Out[3]=
{0.826805,False}
|
|
""

