SamplePublisher`GrassmannCalculus`
RandomOrthonormalMatrix |
|
| | ||||
Details and Options
Examples
(1)
Basic Examples
(1)
In[1]:=
<<GrassmannCalculus`
In[2]:=
mat=
[3]Det[mat]mat.Inverse[mat]
RandomOrthonormalMatrix |
Out[2]=
-,-,-,,-246,-,-,-,
6
7805
5
1561
88
7805
43793
1927842805
5
385568561
2916
1927842805
12
247001
496
247001
29
247001
Out[2]=
1
Out[2]=
{{1,0,0},{0,1,0},{0,0,1}}
In[3]:=
mat=
[3,{RandomElementSpecification(RandomReal[{-25,25}]&),Method"Householder"}]//MatrixFormDet[mat]mat.Inverse[mat]//Chop
RandomOrthonormalMatrix |
Out[3]//MatrixForm=
-0.865326 | -0.480146 | -0.14377 |
0.499457 | -0.802103 | -0.327374 |
0.0418684 | -0.355092 | 0.933893 |
Out[3]=
1.
Out[3]=
{{1.,0,0},{0,1.,0},{0,0,1.}}
|
""

