Debian Codegraph @

doc/ref/chap44.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
7 <head>
8 <title>GAP (ref) - Chapter 44: Matrix Groups</title>
9 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
10 <meta name="generator" content="GAPDoc2HTML" />
11 <link rel="stylesheet" type="text/css" href="manual.css" />
12 <script src="manual.js" type="text/javascript"></script>
13 <script type="text/javascript">overwriteStyle();</script>
14 </head>
15 <body class="chap44" onload="jscontent()">
16
17
18 <div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chap8.html">8</a> <a href="chap9.html">9</a> <a href="chap10.html">10</a> <a href="chap11.html">11</a> <a href="chap12.html">12</a> <a href="chap13.html">13</a> <a href="chap14.html">14</a> <a href="chap15.html">15</a> <a href="chap16.html">16</a> <a href="chap17.html">17</a> <a href="chap18.html">18</a> <a href="chap19.html">19</a> <a href="chap20.html">20</a> <a href="chap21.html">21</a> <a href="chap22.html">22</a> <a href="chap23.html">23</a> <a href="chap24.html">24</a> <a href="chap25.html">25</a> <a href="chap26.html">26</a> <a href="chap27.html">27</a> <a href="chap28.html">28</a> <a href="chap29.html">29</a> <a href="chap30.html">30</a> <a href="chap31.html">31</a> <a href="chap32.html">32</a> <a href="chap33.html">33</a> <a href="chap34.html">34</a> <a href="chap35.html">35</a> <a href="chap36.html">36</a> <a href="chap37.html">37</a> <a href="chap38.html">38</a> <a href="chap39.html">39</a> <a href="chap40.html">40</a> <a href="chap41.html">41</a> <a href="chap42.html">42</a> <a href="chap43.html">43</a> <a href="chap44.html">44</a> <a href="chap45.html">45</a> <a href="chap46.html">46</a> <a href="chap47.html">47</a> <a href="chap48.html">48</a> <a href="chap49.html">49</a> <a href="chap50.html">50</a> <a href="chap51.html">51</a> <a href="chap52.html">52</a> <a href="chap53.html">53</a> <a href="chap54.html">54</a> <a href="chap55.html">55</a> <a href="chap56.html">56</a> <a href="chap57.html">57</a> <a href="chap58.html">58</a> <a href="chap59.html">59</a> <a href="chap60.html">60</a> <a href="chap61.html">61</a> <a href="chap62.html">62</a> <a href="chap63.html">63</a> <a href="chap64.html">64</a> <a href="chap65.html">65</a> <a href="chap66.html">66</a> <a href="chap67.html">67</a> <a href="chap68.html">68</a> <a href="chap69.html">69</a> <a href="chap70.html">70</a> <a href="chap71.html">71</a> <a href="chap72.html">72</a> <a href="chap73.html">73</a> <a href="chap74.html">74</a> <a href="chap75.html">75</a> <a href="chap76.html">76</a> <a href="chap77.html">77</a> <a href="chap78.html">78</a> <a href="chap79.html">79</a> <a href="chap80.html">80</a> <a href="chap81.html">81</a> <a href="chap82.html">82</a> <a href="chap83.html">83</a> <a href="chap84.html">84</a> <a href="chap85.html">85</a> <a href="chap86.html">86</a> <a href="chap87.html">87</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
19
20 <div class="chlinkprevnexttop">&nbsp;<a href="chap0.html">[Top of Book]</a>&nbsp; <a href="chap0.html#contents">[Contents]</a>&nbsp; &nbsp;<a href="chap43.html">[Previous Chapter]</a>&nbsp; &nbsp;<a href="chap45.html">[Next Chapter]</a>&nbsp; </div>
21
22 <p id="mathjaxlink" class="pcenter"><a href="chap44_mj.html">[MathJax on]</a></p>
23 <p><a id="X7CF51CB48610A07D" name="X7CF51CB48610A07D"></a></p>
24 <div class="ChapSects"><a href="chap44.html#X7CF51CB48610A07D">44 <span class="Heading">Matrix Groups</span></a>
25 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X86CEA60E7C04744C">44.1 <span class="Heading">IsMatrixGroup (Filter)</span></a>
26 </span>
27 <div class="ContSSBlock">
28 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7E6093FF85F1C3A1">44.1-1 IsMatrixGroup</a></span>
29 </div></div>
30 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X7FD808E386FAF9B0">44.2 <span class="Heading">Attributes and Properties for Matrix Groups</span></a>
31 </span>
32 <div class="ContSSBlock">
33 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7E55258C783C50CA">44.2-1 DimensionOfMatrixGroup</a></span>
34 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7D540083793CD496">44.2-2 DefaultFieldOfMatrixGroup</a></span>
35 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X78A9F0E580DA613A">44.2-3 FieldOfMatrixGroup</a></span>
36 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X832D18C77ED608DE">44.2-4 TransposedMatrixGroup</a></span>
37 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X84B36A827E5EFC35">44.2-5 IsFFEMatrixGroup</a></span>
38 </div></div>
39 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X7F4B0B397AAC7659">44.3 <span class="Heading">Actions of Matrix Groups</span></a>
40 </span>
41 <div class="ContSSBlock">
42 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7BD4F38E8624735D">44.3-1 ProjectiveActionOnFullSpace</a></span>
43 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7F8EA8D583C1E9B2">44.3-2 ProjectiveActionHomomorphismMatrixGroup</a></span>
44 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X849C451A80B4A210">44.3-3 BlowUpIsomorphism</a></span>
45 </div></div>
46 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X7934EED77891BE6B">44.4 <span class="Heading">GL and SL</span></a>
47 </span>
48 <div class="ContSSBlock">
49 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X781387AF7999EA99">44.4-1 IsGeneralLinearGroup</a></span>
50 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X86F9A27D7AFAEB5A">44.4-2 IsNaturalGL</a></span>
51 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X816677CD821261FA">44.4-3 IsSpecialLinearGroup</a></span>
52 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X84134F08781EB943">44.4-4 IsNaturalSL</a></span>
53 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7ED43D4F7E993A31">44.4-5 IsSubgroupSL</a></span>
54 </div></div>
55 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X7CA4097C79F5BD90">44.5 <span class="Heading">Invariant Forms</span></a>
56 </span>
57 <div class="ContSSBlock">
58 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7C08385A81AB05E1">44.5-1 InvariantBilinearForm</a></span>
59 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X8652FBF781940AC3">44.5-2 IsFullSubgroupGLorSLRespectingBilinearForm</a></span>
60 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X78B2705B87ED5384">44.5-3 InvariantBilinearFormUpToScalars</a></span>
61 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X8461A2D87E4208EF">44.5-4 IsFullSubgroupGLRespectingBilinearFormUpToScalars</a></span>
62 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X82F22079852130C9">44.5-5 InvariantSesquilinearForm</a></span>
63 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7B35A8AF7D8F0313">44.5-6 IsFullSubgroupGLorSLRespectingSesquilinearForm</a></span>
64 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7BCACC007EB9B613">44.5-7 InvariantQuadraticForm</a></span>
65 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X84AB04A67DFC0274">44.5-8 IsFullSubgroupGLorSLRespectingQuadraticForm</a></span>
66 </div></div>
67 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X7FB0138F79E8C5E7">44.6 <span class="Heading">Matrix Groups in Characteristic 0</span></a>
68 </span>
69 <div class="ContSSBlock">
70 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X850821F78558C829">44.6-1 IsCyclotomicMatrixGroup</a></span>
71 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7FEDB2E17EE02674">44.6-2 IsRationalMatrixGroup</a></span>
72 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7F737FC4795F3E48">44.6-3 IsIntegerMatrixGroup</a></span>
73 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X86F9CC1E7DB97CB6">44.6-4 IsNaturalGLnZ</a></span>
74 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7B0E70127F5D2EAF">44.6-5 IsNaturalSLnZ</a></span>
75 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7DE412A37A6975B3">44.6-6 InvariantLattice</a></span>
76 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7CC4D6DC81739698">44.6-7 NormalizerInGLnZ</a></span>
77 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7DAFB71F86525DE7">44.6-8 CentralizerInGLnZ</a></span>
78 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X8217762A863F1382">44.6-9 ZClassRepsQClass</a></span>
79 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X84FD9FC97FB90795">44.6-10 IsBravaisGroup</a></span>
80 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7AAE301C83116451">44.6-11 BravaisGroup</a></span>
81 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X788C7D9C7C2301C5">44.6-12 BravaisSubgroups</a></span>
82 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7F5FF1A481E08AD5">44.6-13 BravaisSupergroups</a></span>
83 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X79B7CD797A420720">44.6-14 NormalizerInGLnZBravaisGroup</a></span>
84 </div></div>
85 <div class="ContSect"><span class="tocline"><span class="nocss">&nbsp;</span><a href="chap44.html#X868288377CFA8D1B">44.7 <span class="Heading">Acting OnRight and OnLeft</span></a>
86 </span>
87 <div class="ContSSBlock">
88 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X7D1318A6780CD88B">44.7-1 CrystGroupDefaultAction</a></span>
89 <span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap44.html#X792D237385977BE6">44.7-2 SetCrystGroupDefaultAction</a></span>
90 </div></div>
91 </div>
92
93 <h3>44 <span class="Heading">Matrix Groups</span></h3>
94
95 <p>Matrix groups are groups generated by invertible square matrices.</p>
96
97 <p>In the following example we temporarily increase the line length limit from its default value 80 to 83 in order to get a nicer output format.</p>
98
99
100 <div class="example"><pre>
101 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m1 := [ [ Z(3)^0, Z(3)^0, Z(3) ],</span>
102 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> [ Z(3), 0*Z(3), Z(3) ],</span>
103 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> [ 0*Z(3), Z(3), 0*Z(3) ] ];;</span>
104 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m2 := [ [ Z(3), Z(3), Z(3)^0 ],</span>
105 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> [ Z(3), 0*Z(3), Z(3) ],</span>
106 <span class="GAPprompt">&gt;</span> <span class="GAPinput"> [ Z(3)^0, 0*Z(3), Z(3) ] ];;</span>
107 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m := Group( m1, m2 );</span>
108 Group(
109 [
110 [ [ Z(3)^0, Z(3)^0, Z(3) ], [ Z(3), 0*Z(3), Z(3) ],
111 [ 0*Z(3), Z(3), 0*Z(3) ] ],
112 [ [ Z(3), Z(3), Z(3)^0 ], [ Z(3), 0*Z(3), Z(3) ],
113 [ Z(3)^0, 0*Z(3), Z(3) ] ] ])
114 </pre></div>
115
116 <p><a id="X86CEA60E7C04744C" name="X86CEA60E7C04744C"></a></p>
117
118 <h4>44.1 <span class="Heading">IsMatrixGroup (Filter)</span></h4>
119
120 <p>For most operations, <strong class="pkg">GAP</strong> only provides methods for finite matrix groups. Many calculations in finite matrix groups are done via so-called <q>nice monomorphisms</q> (see Section <a href="chap40.html#X7FFD731684606BC6"><span class="RefLink">40.5</span></a>) that represent a faithful action on vectors.</p>
121
122 <p><a id="X7E6093FF85F1C3A1" name="X7E6093FF85F1C3A1"></a></p>
123
124 <h5>44.1-1 IsMatrixGroup</h5>
125
126 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsMatrixGroup</code>( <var class="Arg">grp</var> )</td><td class="tdright">(&nbsp;category&nbsp;)</td></tr></table></div>
127 <p>The category of matrix groups.</p>
128
129 <p><a id="X7FD808E386FAF9B0" name="X7FD808E386FAF9B0"></a></p>
130
131 <h4>44.2 <span class="Heading">Attributes and Properties for Matrix Groups</span></h4>
132
133 <p><a id="X7E55258C783C50CA" name="X7E55258C783C50CA"></a></p>
134
135 <h5>44.2-1 DimensionOfMatrixGroup</h5>
136
137 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DimensionOfMatrixGroup</code>( <var class="Arg">mat-grp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
138 <p>The dimension of the matrix group.</p>
139
140 <p><a id="X7D540083793CD496" name="X7D540083793CD496"></a></p>
141
142 <h5>44.2-2 DefaultFieldOfMatrixGroup</h5>
143
144 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; DefaultFieldOfMatrixGroup</code>( <var class="Arg">mat-grp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
145 <p>Is a field containing all the matrix entries. It is not guaranteed to be the smallest field with this property.</p>
146
147 <p><a id="X78A9F0E580DA613A" name="X78A9F0E580DA613A"></a></p>
148
149 <h5>44.2-3 FieldOfMatrixGroup</h5>
150
151 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; FieldOfMatrixGroup</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
152 <p>The smallest field containing all the matrix entries of all elements of the matrix group <var class="Arg">matgrp</var>. As the calculation of this can be hard, this should only be used if one <em>really</em> needs the smallest field, use <code class="func">DefaultFieldOfMatrixGroup</code> (<a href="chap44.html#X7D540083793CD496"><span class="RefLink">44.2-2</span></a>) to get (for example) the characteristic.</p>
153
154
155 <div class="example"><pre>
156 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DimensionOfMatrixGroup(m);</span>
157 3
158 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">DefaultFieldOfMatrixGroup(m);</span>
159 GF(3)
160 </pre></div>
161
162 <p><a id="X832D18C77ED608DE" name="X832D18C77ED608DE"></a></p>
163
164 <h5>44.2-4 TransposedMatrixGroup</h5>
165
166 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; TransposedMatrixGroup</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
167 <p>returns the transpose of the matrix group <var class="Arg">matgrp</var>. The transpose of the transpose of <var class="Arg">matgrp</var> is identical to <var class="Arg">matgrp</var>.</p>
168
169
170 <div class="example"><pre>
171 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">G := Group( [[0,-1],[1,0]] );</span>
172 Group([ [ [ 0, -1 ], [ 1, 0 ] ] ])
173 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">T := TransposedMatrixGroup( G );</span>
174 Group([ [ [ 0, 1 ], [ -1, 0 ] ] ])
175 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsIdenticalObj( G, TransposedMatrixGroup( T ) );</span>
176 true
177 </pre></div>
178
179 <p><a id="X84B36A827E5EFC35" name="X84B36A827E5EFC35"></a></p>
180
181 <h5>44.2-5 IsFFEMatrixGroup</h5>
182
183 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFFEMatrixGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;category&nbsp;)</td></tr></table></div>
184 <p>tests whether all matrices in <var class="Arg">G</var> have finite field element entries.</p>
185
186 <p><a id="X7F4B0B397AAC7659" name="X7F4B0B397AAC7659"></a></p>
187
188 <h4>44.3 <span class="Heading">Actions of Matrix Groups</span></h4>
189
190 <p>The basic operations for groups are described in Chapter <a href="chap41.html#X87115591851FB7F4"><span class="RefLink">41</span></a>, special actions for <em>matrix</em> groups mentioned there are <code class="func">OnLines</code> (<a href="chap41.html#X86DC2DD5829CAD9A"><span class="RefLink">41.2-12</span></a>), <code class="func">OnRight</code> (<a href="chap41.html#X7960924D84B5B18F"><span class="RefLink">41.2-2</span></a>), and <code class="func">OnSubspacesByCanonicalBasis</code> (<a href="chap41.html#X85124D197F0F9C4D"><span class="RefLink">41.2-15</span></a>).</p>
191
192 <p>For subtleties concerning multiplication from the left or from the right, see <a href="chap44.html#X868288377CFA8D1B"><span class="RefLink">44.7</span></a>.</p>
193
194 <p><a id="X7BD4F38E8624735D" name="X7BD4F38E8624735D"></a></p>
195
196 <h5>44.3-1 ProjectiveActionOnFullSpace</h5>
197
198 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveActionOnFullSpace</code>( <var class="Arg">G</var>, <var class="Arg">F</var>, <var class="Arg">n</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
199 <p>Let <var class="Arg">G</var> be a group of <var class="Arg">n</var> by <var class="Arg">n</var> matrices over a field contained in the finite field <var class="Arg">F</var>. <code class="func">ProjectiveActionOnFullSpace</code> returns the image of the projective action of <var class="Arg">G</var> on the full row space <span class="SimpleMath"><var class="Arg">F</var>^<var class="Arg">n</var></span>.</p>
200
201 <p><a id="X7F8EA8D583C1E9B2" name="X7F8EA8D583C1E9B2"></a></p>
202
203 <h5>44.3-2 ProjectiveActionHomomorphismMatrixGroup</h5>
204
205 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ProjectiveActionHomomorphismMatrixGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
206 <p>returns an action homomorphism for a faithful projective action of <var class="Arg">G</var> on the underlying vector space. (Note: The action is not necessarily on the full space, if a smaller subset can be found on which the action is faithful.)</p>
207
208 <p><a id="X849C451A80B4A210" name="X849C451A80B4A210"></a></p>
209
210 <h5>44.3-3 BlowUpIsomorphism</h5>
211
212 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; BlowUpIsomorphism</code>( <var class="Arg">matgrp</var>, <var class="Arg">B</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
213 <p>For a matrix group <var class="Arg">matgrp</var> and a basis <var class="Arg">B</var> of a field extension <span class="SimpleMath">L / K</span> such that the entries of all matrices in <var class="Arg">matgrp</var> lie in <span class="SimpleMath">L</span>, <code class="func">BlowUpIsomorphism</code> returns the isomorphism with source <var class="Arg">matgrp</var> that is defined by mapping the matrix <span class="SimpleMath">A</span> to <code class="code">BlownUpMat</code><span class="SimpleMath">( A, <var class="Arg">B</var> )</span>, see <code class="func">BlownUpMat</code> (<a href="chap24.html#X85923C107A4569D0"><span class="RefLink">24.13-4</span></a>).</p>
214
215
216 <div class="example"><pre>
217 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= GL(2,4);;</span>
218 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">B:= CanonicalBasis( GF(4) );; BasisVectors( B );</span>
219 [ Z(2)^0, Z(2^2) ]
220 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">iso:= BlowUpIsomorphism( g, B );;</span>
221 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Display( Image( iso, [ [ Z(4), Z(2) ], [ 0*Z(2), Z(4)^2 ] ] ) );</span>
222 . 1 1 .
223 1 1 . 1
224 . . 1 1
225 . . 1 .
226 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">img:= Image( iso, g );</span>
227 &lt;matrix group with 2 generators&gt;
228 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">Index( GL(4,2), img );</span>
229 112
230 </pre></div>
231
232 <p><a id="X7934EED77891BE6B" name="X7934EED77891BE6B"></a></p>
233
234 <h4>44.4 <span class="Heading">GL and SL</span></h4>
235
236 <p>(See also section <a href="chap50.html#X8674AAA578FE4AEE"><span class="RefLink">50.2</span></a>.)</p>
237
238 <p><a id="X781387AF7999EA99" name="X781387AF7999EA99"></a></p>
239
240 <h5>44.4-1 IsGeneralLinearGroup</h5>
241
242 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGeneralLinearGroup</code>( <var class="Arg">grp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
243 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsGL</code>( <var class="Arg">grp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
244 <p>The General Linear group is the group of all invertible matrices over a ring. This property tests, whether a group is isomorphic to a General Linear group. (Note that currently only a few trivial methods are available for this operation. We hope to improve this in the future.)</p>
245
246 <p><a id="X86F9A27D7AFAEB5A" name="X86F9A27D7AFAEB5A"></a></p>
247
248 <h5>44.4-2 IsNaturalGL</h5>
249
250 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsNaturalGL</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
251 <p>This property tests, whether a matrix group is the General Linear group in the right dimension over the (smallest) ring which contains all entries of its elements. (Currently, only a trivial test that computes the order of the group is available.)</p>
252
253 <p><a id="X816677CD821261FA" name="X816677CD821261FA"></a></p>
254
255 <h5>44.4-3 IsSpecialLinearGroup</h5>
256
257 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsSpecialLinearGroup</code>( <var class="Arg">grp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
258 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsSL</code>( <var class="Arg">grp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
259 <p>The Special Linear group is the group of all invertible matrices over a ring, whose determinant is equal to 1. This property tests, whether a group is isomorphic to a Special Linear group. (Note that currently only a few trivial methods are available for this operation. We hope to improve this in the future.)</p>
260
261 <p><a id="X84134F08781EB943" name="X84134F08781EB943"></a></p>
262
263 <h5>44.4-4 IsNaturalSL</h5>
264
265 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsNaturalSL</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
266 <p>This property tests, whether a matrix group is the Special Linear group in the right dimension over the (smallest) ring which contains all entries of its elements. (Currently, only a trivial test that computes the order of the group is available.)</p>
267
268
269 <div class="example"><pre>
270 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsNaturalGL(m);</span>
271 false
272 </pre></div>
273
274 <p><a id="X7ED43D4F7E993A31" name="X7ED43D4F7E993A31"></a></p>
275
276 <h5>44.4-5 IsSubgroupSL</h5>
277
278 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsSubgroupSL</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
279 <p>This property tests, whether a matrix group is a subgroup of the Special Linear group in the right dimension over the (smallest) ring which contains all entries of its elements.</p>
280
281 <p><a id="X7CA4097C79F5BD90" name="X7CA4097C79F5BD90"></a></p>
282
283 <h4>44.5 <span class="Heading">Invariant Forms</span></h4>
284
285 <p><a id="X7C08385A81AB05E1" name="X7C08385A81AB05E1"></a></p>
286
287 <h5>44.5-1 InvariantBilinearForm</h5>
288
289 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InvariantBilinearForm</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
290 <p>For a matrix group <var class="Arg">matgrp</var>, <code class="func">InvariantBilinearForm</code> returns a record containing at least the components <code class="code">matrix</code>, whose value is a matrix <span class="SimpleMath">M</span>, and <code class="code">baseDomain</code>, whose value is a field.</p>
291
292 <p>This record describes a bilinear form that is invariant under <var class="Arg">matgrp</var>. For every generator <span class="SimpleMath">g</span> of <var class="Arg">matgrp</var>, the equation <span class="SimpleMath">g ⋅ M ⋅ g^tr = M</span> holds.</p>
293
294 <p>The attribute value is set for example in groups constructed with <code class="func">SymplecticGroup</code> (<a href="chap50.html#X8142A8B07811CA90"><span class="RefLink">50.2-5</span></a>). Together with <code class="func">IsFullSubgroupGLorSLRespectingBilinearForm</code> (<a href="chap44.html#X8652FBF781940AC3"><span class="RefLink">44.5-2</span></a>), it can be used for efficient membership tests in <var class="Arg">matgrp</var>.</p>
295
296 <p><a id="X8652FBF781940AC3" name="X8652FBF781940AC3"></a></p>
297
298 <h5>44.5-2 IsFullSubgroupGLorSLRespectingBilinearForm</h5>
299
300 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFullSubgroupGLorSLRespectingBilinearForm</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
301 <p>If this property is set then the matrix group <var class="Arg">matgrp</var> is the full subgroup of <code class="code">GL</code><span class="SimpleMath">(d, q)</span> or <code class="code">SL</code><span class="SimpleMath">(d, q)</span> respecting the form stored as the value of <code class="func">InvariantBilinearForm</code> (<a href="chap44.html#X7C08385A81AB05E1"><span class="RefLink">44.5-1</span></a>) for <var class="Arg">matgrp</var>.</p>
302
303 <p>The value <span class="SimpleMath">d</span> is the <code class="func">DimensionOfMatrixGroup</code> (<a href="chap44.html#X7E55258C783C50CA"><span class="RefLink">44.2-1</span></a>) value of <var class="Arg">matgrp</var>, and <span class="SimpleMath">q</span> is the size of the <code class="code">baseDomain</code> component of the record stored as <code class="func">InvariantBilinearForm</code> (<a href="chap44.html#X7C08385A81AB05E1"><span class="RefLink">44.5-1</span></a>).</p>
304
305 <p>The property <code class="func">IsSubgroupSL</code> (<a href="chap44.html#X7ED43D4F7E993A31"><span class="RefLink">44.4-5</span></a>) of <var class="Arg">matgrp</var> determines whether <code class="code">GL</code> or <code class="code">SL</code> is meant for <code class="func">IsFullSubgroupGLorSLRespectingBilinearForm</code>.</p>
306
307 <p><a id="X78B2705B87ED5384" name="X78B2705B87ED5384"></a></p>
308
309 <h5>44.5-3 InvariantBilinearFormUpToScalars</h5>
310
311 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InvariantBilinearFormUpToScalars</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
312 <p>This attribute describes a bilinear form that is invariant up to scalars under the matrix group <var class="Arg">matgrp</var>. The form is given by a record with the component <code class="code">matrix</code> which is a matrix <span class="SimpleMath">J</span> such that for every generator <span class="SimpleMath">g</span> of <var class="Arg">matgrp</var> the equation <span class="SimpleMath">g ⋅ J ⋅ g^tr = λ(g) J</span> holds, for <span class="SimpleMath">λ(g)</span> in the <code class="func">FieldOfMatrixGroup</code> (<a href="chap44.html#X78A9F0E580DA613A"><span class="RefLink">44.2-3</span></a>) value of <var class="Arg">matgrp</var>.</p>
313
314 <p><a id="X8461A2D87E4208EF" name="X8461A2D87E4208EF"></a></p>
315
316 <h5>44.5-4 IsFullSubgroupGLRespectingBilinearFormUpToScalars</h5>
317
318 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFullSubgroupGLRespectingBilinearFormUpToScalars</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
319 <p>This property tests whether the matrix group <var class="Arg">matgrp</var> is the full subgroup of GL respecting, up to scalars, the form stored as the value of <code class="func">InvariantBilinearFormUpToScalars</code> (<a href="chap44.html#X78B2705B87ED5384"><span class="RefLink">44.5-3</span></a>) for <var class="Arg">matgrp</var>.</p>
320
321 <p><a id="X82F22079852130C9" name="X82F22079852130C9"></a></p>
322
323 <h5>44.5-5 InvariantSesquilinearForm</h5>
324
325 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InvariantSesquilinearForm</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
326 <p>For a matrix group <var class="Arg">matgrp</var>, <code class="func">InvariantSesquilinearForm</code> returns a record containing at least the components <code class="code">matrix</code>, whose value is a matrix <span class="SimpleMath">M</span>, and <code class="code">baseDomain</code>, whose value is a field <span class="SimpleMath">F</span>.</p>
327
328 <p>This record describes a sesquilinear form that is invariant under <var class="Arg">matgrp</var>. For every generator <span class="SimpleMath">g</span> of <var class="Arg">matgrp</var>, the equation <span class="SimpleMath">g ⋅ M ⋅ (g^tr)^f = M</span> holds, where <span class="SimpleMath">f</span> is an automorphism of <span class="SimpleMath">F</span>. If <span class="SimpleMath">F</span> has <span class="SimpleMath">q^2</span> elements then <span class="SimpleMath">f</span> raises each element of <span class="SimpleMath">F</span> to its <span class="SimpleMath">q</span>-th power. (<span class="SimpleMath">f</span> can be obtained as a power of the <code class="func">FrobeniusAutomorphism</code> (<a href="chap59.html#X8758E4AB7D0A1955"><span class="RefLink">59.4-1</span></a>) value of <span class="SimpleMath">F</span>.)</p>
329
330 <p>The attribute value is set for example in groups constructed with <code class="func">GeneralUnitaryGroup</code> (<a href="chap50.html#X866D4E2B816BDFA5"><span class="RefLink">50.2-3</span></a>). Together with <code class="func">IsFullSubgroupGLorSLRespectingSesquilinearForm</code> (<a href="chap44.html#X7B35A8AF7D8F0313"><span class="RefLink">44.5-6</span></a>), it can be used for efficient membership tests in <var class="Arg">matgrp</var>.</p>
331
332 <p><a id="X7B35A8AF7D8F0313" name="X7B35A8AF7D8F0313"></a></p>
333
334 <h5>44.5-6 IsFullSubgroupGLorSLRespectingSesquilinearForm</h5>
335
336 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFullSubgroupGLorSLRespectingSesquilinearForm</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
337 <p>If this property is set then the matrix group <var class="Arg">matgrp</var> is the full subgroup of <code class="code">GL</code><span class="SimpleMath">(d, q)</span> or <code class="code">SL</code><span class="SimpleMath">(d, q)</span> respecting the form stored as the value of <code class="func">InvariantSesquilinearForm</code> (<a href="chap44.html#X82F22079852130C9"><span class="RefLink">44.5-5</span></a>) for <var class="Arg">matgrp</var>.</p>
338
339 <p>The value <span class="SimpleMath">d</span> is the <code class="func">DimensionOfMatrixGroup</code> (<a href="chap44.html#X7E55258C783C50CA"><span class="RefLink">44.2-1</span></a>) value of <var class="Arg">matgrp</var>, and <span class="SimpleMath">q</span> is the size of the <code class="code">baseDomain</code> component of the record stored as <code class="func">InvariantSesquilinearForm</code> (<a href="chap44.html#X82F22079852130C9"><span class="RefLink">44.5-5</span></a>).</p>
340
341 <p>The property <code class="func">IsSubgroupSL</code> (<a href="chap44.html#X7ED43D4F7E993A31"><span class="RefLink">44.4-5</span></a>) of <var class="Arg">matgrp</var> determines whether <code class="code">GL</code> or <code class="code">SL</code> is meant for <code class="func">IsFullSubgroupGLorSLRespectingSesquilinearForm</code>.</p>
342
343 <p><a id="X7BCACC007EB9B613" name="X7BCACC007EB9B613"></a></p>
344
345 <h5>44.5-7 InvariantQuadraticForm</h5>
346
347 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InvariantQuadraticForm</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
348 <p>For a matrix group <var class="Arg">matgrp</var>, <code class="func">InvariantQuadraticForm</code> returns a record containing at least the components <code class="code">matrix</code>, whose value is a matrix <span class="SimpleMath">Q</span>, and <code class="code">baseDomain</code>, whose value is a field <span class="SimpleMath">F</span>.</p>
349
350 <p>The quadratic form <span class="SimpleMath">q</span> on the natural <span class="SimpleMath">F</span>-vector space <span class="SimpleMath">V</span> on which <var class="Arg">matgrp</var> acts is given by <span class="SimpleMath">q(v) = v Q v^tr</span>, and the invariance under <var class="Arg">matgrp</var> is given by the equation <span class="SimpleMath">q(v) = q(v M)</span> for all <span class="SimpleMath">v ∈ V</span> and <span class="SimpleMath">M</span> in <var class="Arg">matgrp</var>. (Note that the invariance of <span class="SimpleMath">q</span> does <em>not</em> imply that the matrix <span class="SimpleMath">Q</span> is invariant under <var class="Arg">matgrp</var>.)</p>
351
352 <p>The function <span class="SimpleMath">q</span> is defined relative to an invariant symmetric bilinear form <span class="SimpleMath">b</span> (see <code class="func">InvariantBilinearForm</code> (<a href="chap44.html#X7C08385A81AB05E1"><span class="RefLink">44.5-1</span></a>)), via the equation <span class="SimpleMath">q(λ x + μ y) = λ^2 q(x) + λ μ b(x,y) + μ^2 q(y)</span>, see <a href="chapBib.html#biBCCN85">[CCN+85, Chapter 3.4]</a>. If <span class="SimpleMath">b</span> is represented by the matrix <span class="SimpleMath">B</span> then this implies <span class="SimpleMath">B = Q + Q^tr</span>. In characteristic different from <span class="SimpleMath">2</span>, we have <span class="SimpleMath">q(x) = b(x,x)/2</span>, so <span class="SimpleMath">Q</span> can be chosen as the strictly upper triangular part of <span class="SimpleMath">B</span> plus half of the diagonal part of <span class="SimpleMath">B</span>. In characteristic <span class="SimpleMath">2</span>, <span class="SimpleMath">B</span> does not determine <span class="SimpleMath">Q</span> but still <span class="SimpleMath">Q</span> can be chosen as an upper (or lower) triangular matrix.</p>
353
354 <p>Whenever the <code class="func">InvariantQuadraticForm</code> value is set in a matrix group then also the <code class="func">InvariantBilinearForm</code> (<a href="chap44.html#X7C08385A81AB05E1"><span class="RefLink">44.5-1</span></a>) value can be accessed, and the two values are compatible in the above sense.</p>
355
356 <p>The attribute value is set for example in groups constructed with <code class="func">GeneralOrthogonalGroup</code> (<a href="chap50.html#X7C2051CB7B94CEB1"><span class="RefLink">50.2-6</span></a>). Together with <code class="func">IsFullSubgroupGLorSLRespectingQuadraticForm</code> (<a href="chap44.html#X84AB04A67DFC0274"><span class="RefLink">44.5-8</span></a>), it can be used for efficient membership tests in <var class="Arg">matgrp</var>.</p>
357
358 <p><a id="X84AB04A67DFC0274" name="X84AB04A67DFC0274"></a></p>
359
360 <h5>44.5-8 IsFullSubgroupGLorSLRespectingQuadraticForm</h5>
361
362 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsFullSubgroupGLorSLRespectingQuadraticForm</code>( <var class="Arg">matgrp</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
363 <p>If this property is set then the matrix group <var class="Arg">matgrp</var> is the full subgroup of <code class="code">GL</code><span class="SimpleMath">(d, q)</span> or <code class="code">SL</code><span class="SimpleMath">(d, q)</span> respecting the form stored as the value of <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>) for <var class="Arg">matgrp</var>.</p>
364
365 <p>The value <span class="SimpleMath">d</span> is the <code class="func">DimensionOfMatrixGroup</code> (<a href="chap44.html#X7E55258C783C50CA"><span class="RefLink">44.2-1</span></a>) value of <var class="Arg">matgrp</var>, and <span class="SimpleMath">q</span> is the size of the <code class="code">baseDomain</code> component of the record stored as <code class="func">InvariantQuadraticForm</code> (<a href="chap44.html#X7BCACC007EB9B613"><span class="RefLink">44.5-7</span></a>).</p>
366
367 <p>The property <code class="func">IsSubgroupSL</code> (<a href="chap44.html#X7ED43D4F7E993A31"><span class="RefLink">44.4-5</span></a>) of <var class="Arg">matgrp</var> determines whether <code class="code">GL</code> or <code class="code">SL</code> is meant for <code class="func">IsFullSubgroupGLorSLRespectingQuadraticForm</code>.</p>
368
369
370 <div class="example"><pre>
371 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= Sp( 2, 3 );;</span>
372 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m:= InvariantBilinearForm( g ).matrix;</span>
373 [ [ 0*Z(3), Z(3)^0 ], [ Z(3), 0*Z(3) ] ]
374 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">[ 0, 1 ] * m * [ 1, -1 ]; # evaluate the bilinear form</span>
375 Z(3)
376 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsFullSubgroupGLorSLRespectingBilinearForm( g );</span>
377 true
378 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= SU( 2, 4 );;</span>
379 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m:= InvariantSesquilinearForm( g ).matrix;</span>
380 [ [ 0*Z(2), Z(2)^0 ], [ Z(2)^0, 0*Z(2) ] ]
381 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">[ 0, 1 ] * m * [ 1, 1 ]; # evaluate the sesquilinear form</span>
382 Z(2)^0
383 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsFullSubgroupGLorSLRespectingSesquilinearForm( g );</span>
384 true
385 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsSubgroupSL( g );</span>
386 true
387 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">g:= GO( 1, 2, 3 );;</span>
388 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">m:= InvariantBilinearForm( g ).matrix;</span>
389 [ [ 0*Z(3), Z(3)^0 ], [ Z(3)^0, 0*Z(3) ] ]
390 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">[ 0, 1 ] * m * [ 1, 1 ]; # evaluate the bilinear form</span>
391 Z(3)^0
392 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">q:= InvariantQuadraticForm( g ).matrix;</span>
393 [ [ 0*Z(3), Z(3)^0 ], [ 0*Z(3), 0*Z(3) ] ]
394 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">[ 0, 1 ] * q * [ 0, 1 ]; # evaluate the quadratic form</span>
395 0*Z(3)
396 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsFullSubgroupGLorSLRespectingQuadraticForm( g );</span>
397 true
398 </pre></div>
399
400 <p><a id="X7FB0138F79E8C5E7" name="X7FB0138F79E8C5E7"></a></p>
401
402 <h4>44.6 <span class="Heading">Matrix Groups in Characteristic 0</span></h4>
403
404 <p>Most of the functions described in this and the following section have implementations which use functions from the <strong class="pkg">GAP</strong> package <strong class="pkg">CaratInterface</strong>. If <strong class="pkg">CaratInterface</strong> is not installed or not compiled, no suitable methods are available.</p>
405
406 <p><a id="X850821F78558C829" name="X850821F78558C829"></a></p>
407
408 <h5>44.6-1 IsCyclotomicMatrixGroup</h5>
409
410 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsCyclotomicMatrixGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;category&nbsp;)</td></tr></table></div>
411 <p>tests whether all matrices in <var class="Arg">G</var> have cyclotomic entries.</p>
412
413 <p><a id="X7FEDB2E17EE02674" name="X7FEDB2E17EE02674"></a></p>
414
415 <h5>44.6-2 IsRationalMatrixGroup</h5>
416
417 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsRationalMatrixGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
418 <p>tests whether all matrices in <var class="Arg">G</var> have rational entries.</p>
419
420 <p><a id="X7F737FC4795F3E48" name="X7F737FC4795F3E48"></a></p>
421
422 <h5>44.6-3 IsIntegerMatrixGroup</h5>
423
424 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsIntegerMatrixGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
425 <p>tests whether all matrices in <var class="Arg">G</var> have integer entries.</p>
426
427
428 <div class="example"><pre>
429 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">A:=[[0,1,0],[0,0,1],[1,0,0]];;</span>
430 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">B:=[[0,0,1],[0,1,0],[-1,0,0]];;</span>
431 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">C:=[[E(4),0,0],[0,E(4)^(-1),0],[0,0,1]];;</span>
432 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsIntegerMatrixGroup(Group(A, B));</span>
433 true
434 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsIntegerMatrixGroup(Group(A, C));</span>
435 false
436 </pre></div>
437
438 <p><a id="X86F9CC1E7DB97CB6" name="X86F9CC1E7DB97CB6"></a></p>
439
440 <h5>44.6-4 IsNaturalGLnZ</h5>
441
442 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsNaturalGLnZ</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
443 <p>tests whether <var class="Arg">G</var> is <span class="SimpleMath">GL_n(ℤ)</span> in its natural representation by <span class="SimpleMath">n × n</span> integer matrices. (The dimension <span class="SimpleMath">n</span> will be read off the generating matrices.)</p>
444
445
446 <div class="example"><pre>
447 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsNaturalGLnZ( GL( 2, Integers ) );</span>
448 true
449 </pre></div>
450
451 <p><a id="X7B0E70127F5D2EAF" name="X7B0E70127F5D2EAF"></a></p>
452
453 <h5>44.6-5 IsNaturalSLnZ</h5>
454
455 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsNaturalSLnZ</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
456 <p>tests whether <var class="Arg">G</var> is <span class="SimpleMath">SL_n(ℤ)</span> in its natural representation by <span class="SimpleMath">n × n</span> integer matrices. (The dimension <span class="SimpleMath">n</span> will be read off the generating matrices.)</p>
457
458
459 <div class="example"><pre>
460 <span class="GAPprompt">gap&gt;</span> <span class="GAPinput">IsNaturalSLnZ( SL( 2, Integers ) );</span>
461 true
462 </pre></div>
463
464 <p><a id="X7DE412A37A6975B3" name="X7DE412A37A6975B3"></a></p>
465
466 <h5>44.6-6 InvariantLattice</h5>
467
468 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; InvariantLattice</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
469 <p>returns a matrix <span class="SimpleMath">B</span>, whose rows form a basis of a <span class="SimpleMath">ℤ</span>-lattice that is invariant under the rational matrix group <var class="Arg">G</var> acting from the right. It returns <code class="keyw">fail</code> if the group is not unimodular. The columns of the inverse of <span class="SimpleMath">B</span> span a <span class="SimpleMath">ℤ</span>-lattice invariant under <var class="Arg">G</var> acting from the left.</p>
470
471 <p><a id="X7CC4D6DC81739698" name="X7CC4D6DC81739698"></a></p>
472
473 <h5>44.6-7 NormalizerInGLnZ</h5>
474
475 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NormalizerInGLnZ</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
476 <p>is an attribute used to store the normalizer of <var class="Arg">G</var> in <span class="SimpleMath">GL_n(ℤ)</span>, where <var class="Arg">G</var> is an integer matrix group of dimension <var class="Arg">n</var>. This attribute is used by <code class="code">Normalizer( GL( n, Integers ), G )</code>.</p>
477
478 <p><a id="X7DAFB71F86525DE7" name="X7DAFB71F86525DE7"></a></p>
479
480 <h5>44.6-8 CentralizerInGLnZ</h5>
481
482 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; CentralizerInGLnZ</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
483 <p>is an attribute used to store the centralizer of <var class="Arg">G</var> in <span class="SimpleMath">GL_n(ℤ)</span>, where <var class="Arg">G</var> is an integer matrix group of dimension <var class="Arg">n</var>. This attribute is used by <code class="code">Centralizer( GL( n, Integers ), G )</code>.</p>
484
485 <p><a id="X8217762A863F1382" name="X8217762A863F1382"></a></p>
486
487 <h5>44.6-9 ZClassRepsQClass</h5>
488
489 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; ZClassRepsQClass</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
490 <p>The conjugacy class in <span class="SimpleMath">GL_n(ℚ)</span> of the finite integer matrix group <var class="Arg">G</var> splits into finitely many conjugacy classes in <span class="SimpleMath">GL_n(ℤ)</span>. <code class="code">ZClassRepsQClass( <var class="Arg">G</var> )</code> returns representative groups for these.</p>
491
492 <p><a id="X84FD9FC97FB90795" name="X84FD9FC97FB90795"></a></p>
493
494 <h5>44.6-10 IsBravaisGroup</h5>
495
496 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; IsBravaisGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;property&nbsp;)</td></tr></table></div>
497 <p>test whether <var class="Arg">G</var> coincides with its Bravais group (see <code class="func">BravaisGroup</code> (<a href="chap44.html#X7AAE301C83116451"><span class="RefLink">44.6-11</span></a>)).</p>
498
499 <p><a id="X7AAE301C83116451" name="X7AAE301C83116451"></a></p>
500
501 <h5>44.6-11 BravaisGroup</h5>
502
503 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; BravaisGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
504 <p>returns the Bravais group of a finite integer matrix group <var class="Arg">G</var>. If <span class="SimpleMath">C</span> is the cone of positive definite quadratic forms <span class="SimpleMath">Q</span> invariant under <span class="SimpleMath">g ↦ g Q g^tr</span> for all <span class="SimpleMath">g ∈ <var class="Arg">G</var></span>, then the Bravais group of <var class="Arg">G</var> is the maximal subgroup of <span class="SimpleMath">GL_n(ℤ)</span> leaving the forms in that same cone invariant. Alternatively, the Bravais group of <var class="Arg">G</var> can also be defined with respect to the action <span class="SimpleMath">g ↦ g^tr Q g</span> on positive definite quadratic forms <span class="SimpleMath">Q</span>. This latter definition is appropriate for groups <var class="Arg">G</var> acting from the right on row vectors, whereas the former definition is appropriate for groups acting from the left on column vectors. Both definitions yield the same Bravais group.</p>
505
506 <p><a id="X788C7D9C7C2301C5" name="X788C7D9C7C2301C5"></a></p>
507
508 <h5>44.6-12 BravaisSubgroups</h5>
509
510 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; BravaisSubgroups</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
511 <p>returns the subgroups of the Bravais group of <var class="Arg">G</var>, which are themselves Bravais groups.</p>
512
513 <p><a id="X7F5FF1A481E08AD5" name="X7F5FF1A481E08AD5"></a></p>
514
515 <h5>44.6-13 BravaisSupergroups</h5>
516
517 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; BravaisSupergroups</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
518 <p>returns the subgroups of <span class="SimpleMath">GL_n(ℤ)</span> that contain the Bravais group of <var class="Arg">G</var> and are Bravais groups themselves.</p>
519
520 <p><a id="X79B7CD797A420720" name="X79B7CD797A420720"></a></p>
521
522 <h5>44.6-14 NormalizerInGLnZBravaisGroup</h5>
523
524 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; NormalizerInGLnZBravaisGroup</code>( <var class="Arg">G</var> )</td><td class="tdright">(&nbsp;attribute&nbsp;)</td></tr></table></div>
525 <p>returns the normalizer of the Bravais group of <var class="Arg">G</var> in the appropriate <span class="SimpleMath">GL_n(ℤ)</span>.</p>
526
527 <p><a id="X868288377CFA8D1B" name="X868288377CFA8D1B"></a></p>
528
529 <h4>44.7 <span class="Heading">Acting OnRight and OnLeft</span></h4>
530
531 <p>In <strong class="pkg">GAP</strong>, matrices by convention act on row vectors from the right, whereas in crystallography the convention is to act on column vectors from the left. The definition of certain algebraic objects important in crystallography implicitly depends on which action is assumed. This holds true in particular for quadratic forms invariant under a matrix group. In a similar way, the representation of affine crystallographic groups, as they are provided by the <strong class="pkg">GAP</strong> package <strong class="pkg">CrystGap</strong>, depends on which action is assumed. Crystallographers are used to the action from the left, whereas the action from the right is the natural one for <strong class="pkg">GAP</strong>. For this reason, a number of functions which are important in crystallography, and whose result depends on which action is assumed, are provided in two versions, one for the usual action from the right, and one for the crystallographic action from the left.</p>
532
533 <p>For every such function, this fact is explicitly mentioned. The naming scheme is as follows: If <code class="code">SomeThing</code> is such a function, there will be functions <code class="code">SomeThingOnRight</code> and <code class="code">SomeThingOnLeft</code>, assuming action from the right and from the left, respectively. In addition, there is a generic function <code class="code">SomeThing</code>, which returns either the result of <code class="code">SomeThingOnRight</code> or <code class="code">SomeThingOnLeft</code>, depending on the global variable <code class="func">CrystGroupDefaultAction</code> (<a href="chap44.html#X7D1318A6780CD88B"><span class="RefLink">44.7-1</span></a>).</p>
534
535 <p><a id="X7D1318A6780CD88B" name="X7D1318A6780CD88B"></a></p>
536
537 <h5>44.7-1 CrystGroupDefaultAction</h5>
538
539 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; CrystGroupDefaultAction</code></td><td class="tdright">(&nbsp;global variable&nbsp;)</td></tr></table></div>
540 <p>can have either of the two values <code class="code">RightAction</code> and <code class="code">LeftAction</code>. The initial value is <code class="code">RightAction</code>. For functions which have variants OnRight and OnLeft, this variable determines which variant is returned by the generic form. The value of <code class="func">CrystGroupDefaultAction</code> can be changed with the function <code class="func">SetCrystGroupDefaultAction</code> (<a href="chap44.html#X792D237385977BE6"><span class="RefLink">44.7-2</span></a>).</p>
541
542 <p><a id="X792D237385977BE6" name="X792D237385977BE6"></a></p>
543
544 <h5>44.7-2 SetCrystGroupDefaultAction</h5>
545
546 <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#8227; SetCrystGroupDefaultAction</code>( <var class="Arg">action</var> )</td><td class="tdright">(&nbsp;function&nbsp;)</td></tr></table></div>
547 <p>allows one to set the value of the global variable <code class="func">CrystGroupDefaultAction</code> (<a href="chap44.html#X7D1318A6780CD88B"><span class="RefLink">44.7-1</span></a>). Only the arguments <code class="code">RightAction</code> and <code class="code">LeftAction</code> are allowed. Initially, the value of <code class="func">CrystGroupDefaultAction</code> (<a href="chap44.html#X7D1318A6780CD88B"><span class="RefLink">44.7-1</span></a>) is <code class="code">RightAction</code>.</p>
548
549
550 <div class="chlinkprevnextbot">&nbsp;<a href="chap0.html">[Top of Book]</a>&nbsp; <a href="chap0.html#contents">[Contents]</a>&nbsp; &nbsp;<a href="chap43.html">[Previous Chapter]</a>&nbsp; &nbsp;<a href="chap45.html">[Next Chapter]</a>&nbsp; </div>
551
552
553 <div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a> <a href="chap1.html">1</a> <a href="chap2.html">2</a> <a href="chap3.html">3</a> <a href="chap4.html">4</a> <a href="chap5.html">5</a> <a href="chap6.html">6</a> <a href="chap7.html">7</a> <a href="chap8.html">8</a> <a href="chap9.html">9</a> <a href="chap10.html">10</a> <a href="chap11.html">11</a> <a href="chap12.html">12</a> <a href="chap13.html">13</a> <a href="chap14.html">14</a> <a href="chap15.html">15</a> <a href="chap16.html">16</a> <a href="chap17.html">17</a> <a href="chap18.html">18</a> <a href="chap19.html">19</a> <a href="chap20.html">20</a> <a href="chap21.html">21</a> <a href="chap22.html">22</a> <a href="chap23.html">23</a> <a href="chap24.html">24</a> <a href="chap25.html">25</a> <a href="chap26.html">26</a> <a href="chap27.html">27</a> <a href="chap28.html">28</a> <a href="chap29.html">29</a> <a href="chap30.html">30</a> <a href="chap31.html">31</a> <a href="chap32.html">32</a> <a href="chap33.html">33</a> <a href="chap34.html">34</a> <a href="chap35.html">35</a> <a href="chap36.html">36</a> <a href="chap37.html">37</a> <a href="chap38.html">38</a> <a href="chap39.html">39</a> <a href="chap40.html">40</a> <a href="chap41.html">41</a> <a href="chap42.html">42</a> <a href="chap43.html">43</a> <a href="chap44.html">44</a> <a href="chap45.html">45</a> <a href="chap46.html">46</a> <a href="chap47.html">47</a> <a href="chap48.html">48</a> <a href="chap49.html">49</a> <a href="chap50.html">50</a> <a href="chap51.html">51</a> <a href="chap52.html">52</a> <a href="chap53.html">53</a> <a href="chap54.html">54</a> <a href="chap55.html">55</a> <a href="chap56.html">56</a> <a href="chap57.html">57</a> <a href="chap58.html">58</a> <a href="chap59.html">59</a> <a href="chap60.html">60</a> <a href="chap61.html">61</a> <a href="chap62.html">62</a> <a href="chap63.html">63</a> <a href="chap64.html">64</a> <a href="chap65.html">65</a> <a href="chap66.html">66</a> <a href="chap67.html">67</a> <a href="chap68.html">68</a> <a href="chap69.html">69</a> <a href="chap70.html">70</a> <a href="chap71.html">71</a> <a href="chap72.html">72</a> <a href="chap73.html">73</a> <a href="chap74.html">74</a> <a href="chap75.html">75</a> <a href="chap76.html">76</a> <a href="chap77.html">77</a> <a href="chap78.html">78</a> <a href="chap79.html">79</a> <a href="chap80.html">80</a> <a href="chap81.html">81</a> <a href="chap82.html">82</a> <a href="chap83.html">83</a> <a href="chap84.html">84</a> <a href="chap85.html">85</a> <a href="chap86.html">86</a> <a href="chap87.html">87</a> <a href="chapBib.html">Bib</a> <a href="chapInd.html">Ind</a> </div>
554
555 <hr />
556 <p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
557 </body>
558 </html>