| 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 57: Modules</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="chap57" 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"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap56.html">[Previous Chapter]</a> <a href="chap58.html">[Next Chapter]</a> </div> |
| 21 | |
| 22 | <p id="mathjaxlink" class="pcenter"><a href="chap57_mj.html">[MathJax on]</a></p> |
| 23 | <p><a id="X8183A6857B0C3633" name="X8183A6857B0C3633"></a></p> |
| 24 | <div class="ChapSects"><a href="chap57.html#X8183A6857B0C3633">57 <span class="Heading">Modules</span></a> |
| 25 | <div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap57.html#X87A33EFD7CC179C1">57.1 <span class="Heading">Generating modules</span></a> |
| 26 | </span> |
| 27 | <div class="ContSSBlock"> |
| 28 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7C62FE5282E9C505">57.1-1 IsLeftOperatorAdditiveGroup</a></span> |
| 29 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7ED323027B291BDF">57.1-2 IsLeftModule</a></span> |
| 30 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7F76B1FD84775025">57.1-3 GeneratorsOfLeftOperatorAdditiveGroup</a></span> |
| 31 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7C7684EF867323C2">57.1-4 GeneratorsOfLeftModule</a></span> |
| 32 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7EB3E46D7BC4A35C">57.1-5 AsLeftModule</a></span> |
| 33 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7F19AD3D799D0469">57.1-6 IsRightOperatorAdditiveGroup</a></span> |
| 34 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X8479A5AA7DF25F50">57.1-7 IsRightModule</a></span> |
| 35 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7DBC4BCB876EEE1C">57.1-8 GeneratorsOfRightOperatorAdditiveGroup</a></span> |
| 36 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X8586A83B85F176F6">57.1-9 GeneratorsOfRightModule</a></span> |
| 37 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X79ED1D7D7F0AE59A">57.1-10 LeftModuleByGenerators</a></span> |
| 38 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X86F070E0807DC34E">57.1-11 LeftActingDomain</a></span> |
| 39 | </div></div> |
| 40 | <div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap57.html#X7934FAE97B6D2AD8">57.2 <span class="Heading">Submodules</span></a> |
| 41 | </span> |
| 42 | <div class="ContSSBlock"> |
| 43 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X8465103F874BC07B">57.2-1 Submodule</a></span> |
| 44 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X83CF3AD18050C982">57.2-2 SubmoduleNC</a></span> |
| 45 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7C68C4E287481EC0">57.2-3 ClosureLeftModule</a></span> |
| 46 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7980BC20856B2B7D">57.2-4 TrivialSubmodule</a></span> |
| 47 | </div></div> |
| 48 | <div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap57.html#X85BD57F27F513D3E">57.3 <span class="Heading">Free Modules</span></a> |
| 49 | </span> |
| 50 | <div class="ContSSBlock"> |
| 51 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7C4832187F3D9228">57.3-1 IsFreeLeftModule</a></span> |
| 52 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7C043E307E344AEE">57.3-2 FreeLeftModule</a></span> |
| 53 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7E6926C6850E7C4E">57.3-3 Dimension</a></span> |
| 54 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X802DB9FB824B0167">57.3-4 IsFiniteDimensional</a></span> |
| 55 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7909E8E785420F0E">57.3-5 UseBasis</a></span> |
| 56 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7C8F844783F4FA09">57.3-6 IsRowModule</a></span> |
| 57 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X81FCC1D780435CF1">57.3-7 IsMatrixModule</a></span> |
| 58 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X853E085C868196EF">57.3-8 IsFullRowModule</a></span> |
| 59 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X848041A47BC4B038">57.3-9 FullRowModule</a></span> |
| 60 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X814CEA62842CF5BB">57.3-10 IsFullMatrixModule</a></span> |
| 61 | <span class="ContSS"><br /><span class="nocss"> </span><a href="chap57.html#X7A0C871B7C446F1F">57.3-11 FullMatrixModule</a></span> |
| 62 | </div></div> |
| 63 | </div> |
| 64 | |
| 65 | <h3>57 <span class="Heading">Modules</span></h3> |
| 66 | |
| 67 | <p><a id="X87A33EFD7CC179C1" name="X87A33EFD7CC179C1"></a></p> |
| 68 | |
| 69 | <h4>57.1 <span class="Heading">Generating modules</span></h4> |
| 70 | |
| 71 | <p><a id="X7C62FE5282E9C505" name="X7C62FE5282E9C505"></a></p> |
| 72 | |
| 73 | <h5>57.1-1 IsLeftOperatorAdditiveGroup</h5> |
| 74 | |
| 75 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsLeftOperatorAdditiveGroup</code>( <var class="Arg">D</var> )</td><td class="tdright">( category )</td></tr></table></div> |
| 76 | <p>A domain <var class="Arg">D</var> lies in <code class="code">IsLeftOperatorAdditiveGroup</code> if it is an additive group that is closed under scalar multiplication from the left, and such that <span class="SimpleMath">λ * ( x + y ) = λ * x + λ * y</span> for all scalars <span class="SimpleMath">λ</span> and elements <span class="SimpleMath">x, y ∈ D</span> (here and below by scalars we mean elements of a domain acting on <var class="Arg">D</var> from left or right as appropriate).</p> |
| 77 | |
| 78 | <p><a id="X7ED323027B291BDF" name="X7ED323027B291BDF"></a></p> |
| 79 | |
| 80 | <h5>57.1-2 IsLeftModule</h5> |
| 81 | |
| 82 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsLeftModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( category )</td></tr></table></div> |
| 83 | <p>A domain <var class="Arg">M</var> lies in <code class="code">IsLeftModule</code> if it lies in <code class="code">IsLeftOperatorAdditiveGroup</code>, <em>and</em> the set of scalars forms a ring, <em>and</em> <span class="SimpleMath">(λ + μ) * x = λ * x + μ * x</span> for scalars <span class="SimpleMath">λ, μ</span> and <span class="SimpleMath">x ∈ M</span>, <em>and</em> scalar multiplication satisfies <span class="SimpleMath">λ * (μ * x) = (λ * μ) * x</span> for scalars <span class="SimpleMath">λ, μ</span> and <span class="SimpleMath">x ∈ M</span>.</p> |
| 84 | |
| 85 | |
| 86 | <div class="example"><pre> |
| 87 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FullRowSpace( Rationals, 3 );</span> |
| 88 | ( Rationals^3 ) |
| 89 | <span class="GAPprompt">gap></span> <span class="GAPinput">IsLeftModule( V );</span> |
| 90 | true |
| 91 | </pre></div> |
| 92 | |
| 93 | <p><a id="X7F76B1FD84775025" name="X7F76B1FD84775025"></a></p> |
| 94 | |
| 95 | <h5>57.1-3 GeneratorsOfLeftOperatorAdditiveGroup</h5> |
| 96 | |
| 97 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ GeneratorsOfLeftOperatorAdditiveGroup</code>( <var class="Arg">D</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 98 | <p>returns a list of elements of <var class="Arg">D</var> that generates <var class="Arg">D</var> as a left operator additive group.</p> |
| 99 | |
| 100 | <p><a id="X7C7684EF867323C2" name="X7C7684EF867323C2"></a></p> |
| 101 | |
| 102 | <h5>57.1-4 GeneratorsOfLeftModule</h5> |
| 103 | |
| 104 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ GeneratorsOfLeftModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 105 | <p>returns a list of elements of <var class="Arg">M</var> that generate <var class="Arg">M</var> as a left module.</p> |
| 106 | |
| 107 | |
| 108 | <div class="example"><pre> |
| 109 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FullRowSpace( Rationals, 3 );;</span> |
| 110 | <span class="GAPprompt">gap></span> <span class="GAPinput">GeneratorsOfLeftModule( V );</span> |
| 111 | [ [ 1, 0, 0 ], [ 0, 1, 0 ], [ 0, 0, 1 ] ] |
| 112 | </pre></div> |
| 113 | |
| 114 | <p><a id="X7EB3E46D7BC4A35C" name="X7EB3E46D7BC4A35C"></a></p> |
| 115 | |
| 116 | <h5>57.1-5 AsLeftModule</h5> |
| 117 | |
| 118 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ AsLeftModule</code>( <var class="Arg">R</var>, <var class="Arg">D</var> )</td><td class="tdright">( operation )</td></tr></table></div> |
| 119 | <p>if the domain <var class="Arg">D</var> forms an additive group and is closed under left multiplication by the elements of <var class="Arg">R</var>, then <code class="code">AsLeftModule( <var class="Arg">R</var>, <var class="Arg">D</var> )</code> returns the domain <var class="Arg">D</var> viewed as a left module.</p> |
| 120 | |
| 121 | |
| 122 | <div class="example"><pre> |
| 123 | <span class="GAPprompt">gap></span> <span class="GAPinput">coll:= [[0*Z(2),0*Z(2)], [Z(2),0*Z(2)], [0*Z(2),Z(2)], [Z(2),Z(2)]];</span> |
| 124 | [ [ 0*Z(2), 0*Z(2) ], [ Z(2)^0, 0*Z(2) ], [ 0*Z(2), Z(2)^0 ], |
| 125 | [ Z(2)^0, Z(2)^0 ] ] |
| 126 | <span class="GAPprompt">gap></span> <span class="GAPinput">AsLeftModule( GF(2), coll );</span> |
| 127 | <vector space of dimension 2 over GF(2)> |
| 128 | </pre></div> |
| 129 | |
| 130 | <p><a id="X7F19AD3D799D0469" name="X7F19AD3D799D0469"></a></p> |
| 131 | |
| 132 | <h5>57.1-6 IsRightOperatorAdditiveGroup</h5> |
| 133 | |
| 134 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsRightOperatorAdditiveGroup</code>( <var class="Arg">D</var> )</td><td class="tdright">( category )</td></tr></table></div> |
| 135 | <p>A domain <var class="Arg">D</var> lies in <code class="code">IsRightOperatorAdditiveGroup</code> if it is an additive group that is closed under scalar multiplication from the right, and such that <span class="SimpleMath">( x + y ) * λ = x * λ + y * λ</span> for all scalars <span class="SimpleMath">λ</span> and elements <span class="SimpleMath">x, y ∈ D</span>.</p> |
| 136 | |
| 137 | <p><a id="X8479A5AA7DF25F50" name="X8479A5AA7DF25F50"></a></p> |
| 138 | |
| 139 | <h5>57.1-7 IsRightModule</h5> |
| 140 | |
| 141 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsRightModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( category )</td></tr></table></div> |
| 142 | <p>A domain <var class="Arg">M</var> lies in <code class="code">IsRightModule</code> if it lies in <code class="code">IsRightOperatorAdditiveGroup</code>, <em>and</em> the set of scalars forms a ring, <em>and</em> <span class="SimpleMath">x * (λ + μ) = x * λ + x * μ</span> for scalars <span class="SimpleMath">λ, μ</span> and <span class="SimpleMath">x ∈ M</span>, <em>and</em> scalar multiplication satisfies <span class="SimpleMath">(x * μ) * λ = x * (μ * λ)</span> for scalars <span class="SimpleMath">λ, μ</span> and <span class="SimpleMath">x ∈ M</span>.</p> |
| 143 | |
| 144 | <p><a id="X7DBC4BCB876EEE1C" name="X7DBC4BCB876EEE1C"></a></p> |
| 145 | |
| 146 | <h5>57.1-8 GeneratorsOfRightOperatorAdditiveGroup</h5> |
| 147 | |
| 148 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ GeneratorsOfRightOperatorAdditiveGroup</code>( <var class="Arg">D</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 149 | <p>returns a list of elements of <var class="Arg">D</var> that generates <var class="Arg">D</var> as a right operator additive group.</p> |
| 150 | |
| 151 | <p><a id="X8586A83B85F176F6" name="X8586A83B85F176F6"></a></p> |
| 152 | |
| 153 | <h5>57.1-9 GeneratorsOfRightModule</h5> |
| 154 | |
| 155 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ GeneratorsOfRightModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 156 | <p>returns a list of elements of <var class="Arg">M</var> that generate <var class="Arg">M</var> as a left module.</p> |
| 157 | |
| 158 | <p><a id="X79ED1D7D7F0AE59A" name="X79ED1D7D7F0AE59A"></a></p> |
| 159 | |
| 160 | <h5>57.1-10 LeftModuleByGenerators</h5> |
| 161 | |
| 162 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ LeftModuleByGenerators</code>( <var class="Arg">R</var>, <var class="Arg">gens</var>[, <var class="Arg">zero</var>] )</td><td class="tdright">( operation )</td></tr></table></div> |
| 163 | <p>returns the left module over <var class="Arg">R</var> generated by <var class="Arg">gens</var>.</p> |
| 164 | |
| 165 | |
| 166 | <div class="example"><pre> |
| 167 | <span class="GAPprompt">gap></span> <span class="GAPinput">coll:= [ [Z(2),0*Z(2)], [0*Z(2),Z(2)], [Z(2),Z(2)] ];;</span> |
| 168 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= LeftModuleByGenerators( GF(16), coll );</span> |
| 169 | <vector space over GF(2^4), with 3 generators> |
| 170 | </pre></div> |
| 171 | |
| 172 | <p><a id="X86F070E0807DC34E" name="X86F070E0807DC34E"></a></p> |
| 173 | |
| 174 | <h5>57.1-11 LeftActingDomain</h5> |
| 175 | |
| 176 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ LeftActingDomain</code>( <var class="Arg">D</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 177 | <p>Let <var class="Arg">D</var> be an external left set, that is, <var class="Arg">D</var> is closed under the action of a domain <span class="SimpleMath">L</span> by multiplication from the left. Then <span class="SimpleMath">L</span> can be accessed as value of <code class="code">LeftActingDomain</code> for <var class="Arg">D</var>.</p> |
| 178 | |
| 179 | <p><a id="X7934FAE97B6D2AD8" name="X7934FAE97B6D2AD8"></a></p> |
| 180 | |
| 181 | <h4>57.2 <span class="Heading">Submodules</span></h4> |
| 182 | |
| 183 | <p><a id="X8465103F874BC07B" name="X8465103F874BC07B"></a></p> |
| 184 | |
| 185 | <h5>57.2-1 Submodule</h5> |
| 186 | |
| 187 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ Submodule</code>( <var class="Arg">M</var>, <var class="Arg">gens</var>[, <var class="Arg">"basis"</var>] )</td><td class="tdright">( function )</td></tr></table></div> |
| 188 | <p>is the left module generated by the collection <var class="Arg">gens</var>, with parent module <var class="Arg">M</var>. If the string <code class="code">"basis"</code> is entered as the third argument then the submodule of <var class="Arg">M</var> is created for which the list <var class="Arg">gens</var> is known to be a list of basis vectors; in this case, it is <em>not</em> checked whether <var class="Arg">gens</var> really is linearly independent and whether all in <var class="Arg">gens</var> lie in <var class="Arg">M</var>.</p> |
| 189 | |
| 190 | |
| 191 | <div class="example"><pre> |
| 192 | <span class="GAPprompt">gap></span> <span class="GAPinput">coll:= [ [Z(2),0*Z(2)], [0*Z(2),Z(2)], [Z(2),Z(2)] ];;</span> |
| 193 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= LeftModuleByGenerators( GF(16), coll );;</span> |
| 194 | <span class="GAPprompt">gap></span> <span class="GAPinput">W:= Submodule( V, [ coll[1], coll[2] ] );</span> |
| 195 | <vector space over GF(2^4), with 2 generators> |
| 196 | <span class="GAPprompt">gap></span> <span class="GAPinput">Parent( W ) = V;</span> |
| 197 | true |
| 198 | </pre></div> |
| 199 | |
| 200 | <p><a id="X83CF3AD18050C982" name="X83CF3AD18050C982"></a></p> |
| 201 | |
| 202 | <h5>57.2-2 SubmoduleNC</h5> |
| 203 | |
| 204 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ SubmoduleNC</code>( <var class="Arg">M</var>, <var class="Arg">gens</var>[, <var class="Arg">"basis"</var>] )</td><td class="tdright">( function )</td></tr></table></div> |
| 205 | <p><code class="func">SubmoduleNC</code> does the same as <code class="func">Submodule</code> (<a href="chap57.html#X8465103F874BC07B"><span class="RefLink">57.2-1</span></a>), except that it does not check whether all in <var class="Arg">gens</var> lie in <var class="Arg">M</var>.</p> |
| 206 | |
| 207 | <p><a id="X7C68C4E287481EC0" name="X7C68C4E287481EC0"></a></p> |
| 208 | |
| 209 | <h5>57.2-3 ClosureLeftModule</h5> |
| 210 | |
| 211 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ ClosureLeftModule</code>( <var class="Arg">M</var>, <var class="Arg">m</var> )</td><td class="tdright">( operation )</td></tr></table></div> |
| 212 | <p>is the left module generated by the left module generators of <var class="Arg">M</var> and the element <var class="Arg">m</var>.</p> |
| 213 | |
| 214 | |
| 215 | <div class="example"><pre> |
| 216 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= LeftModuleByGenerators(Rationals, [ [ 1, 0, 0 ], [ 0, 1, 0 ] ]);</span> |
| 217 | <vector space over Rationals, with 2 generators> |
| 218 | <span class="GAPprompt">gap></span> <span class="GAPinput">ClosureLeftModule( V, [ 1, 1, 1 ] );</span> |
| 219 | <vector space over Rationals, with 3 generators> |
| 220 | </pre></div> |
| 221 | |
| 222 | <p><a id="X7980BC20856B2B7D" name="X7980BC20856B2B7D"></a></p> |
| 223 | |
| 224 | <h5>57.2-4 TrivialSubmodule</h5> |
| 225 | |
| 226 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ TrivialSubmodule</code>( <var class="Arg">M</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 227 | <p>returns the zero submodule of <var class="Arg">M</var>.</p> |
| 228 | |
| 229 | |
| 230 | <div class="example"><pre> |
| 231 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= LeftModuleByGenerators(Rationals, [[ 1, 0, 0 ], [ 0, 1, 0 ]]);;</span> |
| 232 | <span class="GAPprompt">gap></span> <span class="GAPinput">TrivialSubmodule( V );</span> |
| 233 | <vector space of dimension 0 over Rationals> |
| 234 | </pre></div> |
| 235 | |
| 236 | <p><a id="X85BD57F27F513D3E" name="X85BD57F27F513D3E"></a></p> |
| 237 | |
| 238 | <h4>57.3 <span class="Heading">Free Modules</span></h4> |
| 239 | |
| 240 | <p><a id="X7C4832187F3D9228" name="X7C4832187F3D9228"></a></p> |
| 241 | |
| 242 | <h5>57.3-1 IsFreeLeftModule</h5> |
| 243 | |
| 244 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsFreeLeftModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( category )</td></tr></table></div> |
| 245 | <p>A left module is free as module if it is isomorphic to a direct sum of copies of its left acting domain.</p> |
| 246 | |
| 247 | <p>Free left modules can have bases.</p> |
| 248 | |
| 249 | <p>The characteristic (see <code class="func">Characteristic</code> (<a href="chap31.html#X81278E53800BF64D"><span class="RefLink">31.10-1</span></a>)) of a free left module is defined as the characteristic of its left acting domain (see <code class="func">LeftActingDomain</code> (<a href="chap57.html#X86F070E0807DC34E"><span class="RefLink">57.1-11</span></a>)).</p> |
| 250 | |
| 251 | <p><a id="X7C043E307E344AEE" name="X7C043E307E344AEE"></a></p> |
| 252 | |
| 253 | <h5>57.3-2 FreeLeftModule</h5> |
| 254 | |
| 255 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FreeLeftModule</code>( <var class="Arg">R</var>, <var class="Arg">gens</var>[, <var class="Arg">zero</var>][, <var class="Arg">"basis"</var>] )</td><td class="tdright">( function )</td></tr></table></div> |
| 256 | <p><code class="code">FreeLeftModule( <var class="Arg">R</var>, <var class="Arg">gens</var> )</code> is the free left module over the ring <var class="Arg">R</var>, generated by the vectors in the collection <var class="Arg">gens</var>.</p> |
| 257 | |
| 258 | <p>If there are three arguments, a ring <var class="Arg">R</var> and a collection <var class="Arg">gens</var> and an element <var class="Arg">zero</var>, then <code class="code">FreeLeftModule( <var class="Arg">R</var>, <var class="Arg">gens</var>, <var class="Arg">zero</var> )</code> is the <var class="Arg">R</var>-free left module generated by <var class="Arg">gens</var>, with zero element <var class="Arg">zero</var>.</p> |
| 259 | |
| 260 | <p>If the last argument is the string <code class="code">"basis"</code> then the vectors in <var class="Arg">gens</var> are known to form a basis of the free module.</p> |
| 261 | |
| 262 | <p>It should be noted that the generators <var class="Arg">gens</var> must be vectors, that is, they must support an addition and a scalar action of <var class="Arg">R</var> via left multiplication. (See also Section <a href="chap31.html#X82039A218274826F"><span class="RefLink">31.3</span></a> for the general meaning of <q>generators</q> in <strong class="pkg">GAP</strong>.) In particular, <code class="func">FreeLeftModule</code> is <em>not</em> an equivalent of commands such as <code class="func">FreeGroup</code> (<a href="chap37.html#X8215999E835290F0"><span class="RefLink">37.2-1</span></a>) in the sense of a constructor of a free group on abstract generators. Such a construction seems to be unnecessary for vector spaces, for that one can use for example row spaces (see <code class="func">FullRowSpace</code> (<a href="chap61.html#X80209A8785126AAB"><span class="RefLink">61.9-4</span></a>)) in the finite dimensional case and polynomial rings (see <code class="func">PolynomialRing</code> (<a href="chap66.html#X7D2F16E480060330"><span class="RefLink">66.15-1</span></a>)) in the infinite dimensional case. Moreover, the definition of a <q>natural</q> addition for elements of a given magma (for example a permutation group) is possible via the construction of magma rings (see Chapter <a href="chap65.html#X825897DC7A16E07D"><span class="RefLink">65</span></a>).</p> |
| 263 | |
| 264 | |
| 265 | <div class="example"><pre> |
| 266 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FreeLeftModule(Rationals, [[ 1, 0, 0 ], [ 0, 1, 0 ]], "basis");</span> |
| 267 | <vector space of dimension 2 over Rationals> |
| 268 | </pre></div> |
| 269 | |
| 270 | <p><a id="X7E6926C6850E7C4E" name="X7E6926C6850E7C4E"></a></p> |
| 271 | |
| 272 | <h5>57.3-3 Dimension</h5> |
| 273 | |
| 274 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ Dimension</code>( <var class="Arg">M</var> )</td><td class="tdright">( attribute )</td></tr></table></div> |
| 275 | <p>A free left module has dimension <span class="SimpleMath">n</span> if it is isomorphic to a direct sum of <span class="SimpleMath">n</span> copies of its left acting domain.</p> |
| 276 | |
| 277 | <p>(We do <em>not</em> mark <code class="func">Dimension</code> as invariant under isomorphisms since we want to call <code class="func">UseIsomorphismRelation</code> (<a href="chap31.html#X839BE6467E8474D9"><span class="RefLink">31.13-3</span></a>) also for free left modules over different left acting domains.)</p> |
| 278 | |
| 279 | |
| 280 | <div class="example"><pre> |
| 281 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FreeLeftModule( Rationals, [ [ 1, 0 ], [ 0, 1 ], [ 1, 1 ] ] );;</span> |
| 282 | <span class="GAPprompt">gap></span> <span class="GAPinput">Dimension( V );</span> |
| 283 | 2 |
| 284 | </pre></div> |
| 285 | |
| 286 | <p><a id="X802DB9FB824B0167" name="X802DB9FB824B0167"></a></p> |
| 287 | |
| 288 | <h5>57.3-4 IsFiniteDimensional</h5> |
| 289 | |
| 290 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsFiniteDimensional</code>( <var class="Arg">M</var> )</td><td class="tdright">( property )</td></tr></table></div> |
| 291 | <p>is <code class="keyw">true</code> if <var class="Arg">M</var> is a free left module that is finite dimensional over its left acting domain, and <code class="keyw">false</code> otherwise.</p> |
| 292 | |
| 293 | |
| 294 | <div class="example"><pre> |
| 295 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FreeLeftModule( Rationals, [ [ 1, 0 ], [ 0, 1 ], [ 1, 1 ] ] );;</span> |
| 296 | <span class="GAPprompt">gap></span> <span class="GAPinput">IsFiniteDimensional( V );</span> |
| 297 | true |
| 298 | </pre></div> |
| 299 | |
| 300 | <p><a id="X7909E8E785420F0E" name="X7909E8E785420F0E"></a></p> |
| 301 | |
| 302 | <h5>57.3-5 UseBasis</h5> |
| 303 | |
| 304 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ UseBasis</code>( <var class="Arg">V</var>, <var class="Arg">gens</var> )</td><td class="tdright">( operation )</td></tr></table></div> |
| 305 | <p>The vectors in the list <var class="Arg">gens</var> are known to form a basis of the free left module <var class="Arg">V</var>. <code class="func">UseBasis</code> stores information in <var class="Arg">V</var> that can be derived form this fact, namely</p> |
| 306 | |
| 307 | |
| 308 | <ul> |
| 309 | <li><p><var class="Arg">gens</var> are stored as left module generators if no such generators were bound (this is useful especially if <var class="Arg">V</var> is an algebra),</p> |
| 310 | |
| 311 | </li> |
| 312 | <li><p>the dimension of <var class="Arg">V</var> is stored.</p> |
| 313 | |
| 314 | </li> |
| 315 | </ul> |
| 316 | |
| 317 | <div class="example"><pre> |
| 318 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FreeLeftModule( Rationals, [ [ 1, 0 ], [ 0, 1 ], [ 1, 1 ] ] );;</span> |
| 319 | <span class="GAPprompt">gap></span> <span class="GAPinput">UseBasis( V, [ [ 1, 0 ], [ 1, 1 ] ] );</span> |
| 320 | <span class="GAPprompt">gap></span> <span class="GAPinput">V; # now V knows its dimension</span> |
| 321 | <vector space of dimension 2 over Rationals> |
| 322 | </pre></div> |
| 323 | |
| 324 | <p><a id="X7C8F844783F4FA09" name="X7C8F844783F4FA09"></a></p> |
| 325 | |
| 326 | <h5>57.3-6 IsRowModule</h5> |
| 327 | |
| 328 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsRowModule</code>( <var class="Arg">V</var> )</td><td class="tdright">( property )</td></tr></table></div> |
| 329 | <p>A <em>row module</em> is a free left module whose elements are row vectors.</p> |
| 330 | |
| 331 | <p><a id="X81FCC1D780435CF1" name="X81FCC1D780435CF1"></a></p> |
| 332 | |
| 333 | <h5>57.3-7 IsMatrixModule</h5> |
| 334 | |
| 335 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsMatrixModule</code>( <var class="Arg">V</var> )</td><td class="tdright">( property )</td></tr></table></div> |
| 336 | <p>A <em>matrix module</em> is a free left module whose elements are matrices.</p> |
| 337 | |
| 338 | <p><a id="X853E085C868196EF" name="X853E085C868196EF"></a></p> |
| 339 | |
| 340 | <h5>57.3-8 IsFullRowModule</h5> |
| 341 | |
| 342 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsFullRowModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( property )</td></tr></table></div> |
| 343 | <p>A <em>full row module</em> is a module <span class="SimpleMath">R^n</span>, for a ring <span class="SimpleMath">R</span> and a nonnegative integer <span class="SimpleMath">n</span>.</p> |
| 344 | |
| 345 | <p>More precisely, a full row module is a free left module over a ring <span class="SimpleMath">R</span> such that the elements are row vectors of the same length <span class="SimpleMath">n</span> and with entries in <span class="SimpleMath">R</span> and such that the dimension is equal to <span class="SimpleMath">n</span>.</p> |
| 346 | |
| 347 | <p>Several functions delegate their tasks to full row modules, for example <code class="func">Iterator</code> (<a href="chap30.html#X83ADF8287ED0668E"><span class="RefLink">30.8-1</span></a>) and <code class="func">Enumerator</code> (<a href="chap30.html#X7EF8910F82B45EC7"><span class="RefLink">30.3-2</span></a>).</p> |
| 348 | |
| 349 | <p><a id="X848041A47BC4B038" name="X848041A47BC4B038"></a></p> |
| 350 | |
| 351 | <h5>57.3-9 FullRowModule</h5> |
| 352 | |
| 353 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FullRowModule</code>( <var class="Arg">R</var>, <var class="Arg">n</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 354 | <p>is the row module <code class="code"><var class="Arg">R</var>^<var class="Arg">n</var></code>, for a ring <var class="Arg">R</var> and a nonnegative integer <var class="Arg">n</var>.</p> |
| 355 | |
| 356 | |
| 357 | <div class="example"><pre> |
| 358 | <span class="GAPprompt">gap></span> <span class="GAPinput">V:= FullRowModule( Integers, 5 );</span> |
| 359 | ( Integers^5 ) |
| 360 | </pre></div> |
| 361 | |
| 362 | <p><a id="X814CEA62842CF5BB" name="X814CEA62842CF5BB"></a></p> |
| 363 | |
| 364 | <h5>57.3-10 IsFullMatrixModule</h5> |
| 365 | |
| 366 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ IsFullMatrixModule</code>( <var class="Arg">M</var> )</td><td class="tdright">( property )</td></tr></table></div> |
| 367 | <p>A <em>full matrix module</em> is a module <span class="SimpleMath">R^{[m,n]}</span>, for a ring <span class="SimpleMath">R</span> and two nonnegative integers <span class="SimpleMath">m</span>, <span class="SimpleMath">n</span>.</p> |
| 368 | |
| 369 | <p>More precisely, a full matrix module is a free left module over a ring <span class="SimpleMath">R</span> such that the elements are <span class="SimpleMath">m</span> by <span class="SimpleMath">n</span> matrices with entries in <span class="SimpleMath">R</span> and such that the dimension is equal to <span class="SimpleMath">m n</span>.</p> |
| 370 | |
| 371 | <p><a id="X7A0C871B7C446F1F" name="X7A0C871B7C446F1F"></a></p> |
| 372 | |
| 373 | <h5>57.3-11 FullMatrixModule</h5> |
| 374 | |
| 375 | <div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FullMatrixModule</code>( <var class="Arg">R</var>, <var class="Arg">m</var>, <var class="Arg">n</var> )</td><td class="tdright">( function )</td></tr></table></div> |
| 376 | <p>is the matrix module <code class="code"><var class="Arg">R</var>^[<var class="Arg">m</var>,<var class="Arg">n</var>]</code>, for a ring <var class="Arg">R</var> and nonnegative integers <var class="Arg">m</var> and <var class="Arg">n</var>.</p> |
| 377 | |
| 378 | |
| 379 | <div class="example"><pre> |
| 380 | <span class="GAPprompt">gap></span> <span class="GAPinput">FullMatrixModule( GaussianIntegers, 3, 6 );</span> |
| 381 | ( GaussianIntegers^[ 3, 6 ] ) |
| 382 | </pre></div> |
| 383 | |
| 384 | |
| 385 | <div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap56.html">[Previous Chapter]</a> <a href="chap58.html">[Next Chapter]</a> </div> |
| 386 | |
| 387 | |
| 388 | <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> |
| 389 | |
| 390 | <hr /> |
| 391 | <p class="foot">generated by <a href="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p> |
| 392 | </body> |
| 393 | </html> |