<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.20" xml:lang="en-US">
  <compounddef id="unrol__radial_8py" kind="file" language="Python">
    <compoundname>unrol_radial.py</compoundname>
    <innerclass refid="classunrol__radial_1_1_qijk" prot="public">unrol_radial::Qijk</innerclass>
    <innernamespace refid="namespaceunrol__radial">unrol_radial</innernamespace>
    <innernamespace refid="namespacesympy">sympy</innernamespace>
    <briefdescription>
    </briefdescription>
    <detaileddescription>
    </detaileddescription>
    <programlisting>
<codeline lineno="1" refid="namespaceunrol__radial_1a7e0a7548eed4ebb942e94e7b9405f123" refkind="member"><highlight class="normal">MAX_UNROL_AM<sp/>=<sp/>4</highlight></codeline>
<codeline lineno="2"><highlight class="normal"></highlight></codeline>
<codeline lineno="3"><highlight class="normal"></highlight><highlight class="comment">#<sp/>DO<sp/>NOT<sp/>EDIT<sp/>BELOW<sp/>HERE</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="4"><highlight class="normal"></highlight></codeline>
<codeline lineno="5"><highlight class="normal"></highlight><highlight class="keyword">from</highlight><highlight class="normal"><sp/>sympy<sp/></highlight><highlight class="keyword">import</highlight><highlight class="normal"><sp/>*</highlight></codeline>
<codeline lineno="6"><highlight class="normal"></highlight></codeline>
<codeline lineno="7" refid="classunrol__radial_1_1_qijk" refkind="compound"><highlight class="normal"></highlight><highlight class="keyword">class<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>:</highlight></codeline>
<codeline lineno="8" refid="classunrol__radial_1_1_qijk_1a75b41f20d3f81ca3d7c5d6c322ca1239" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1a75b41f20d3f81ca3d7c5d6c322ca1239" kindref="member">__init__</ref>(self,<sp/>Ival<sp/>=<sp/>0,<sp/>Jval<sp/>=<sp/>0,<sp/>Kval<sp/>=<sp/>0):</highlight></codeline>
<codeline lineno="9" refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref><sp/>=<sp/>Ival</highlight></codeline>
<codeline lineno="10" refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref><sp/>=<sp/>Jval</highlight></codeline>
<codeline lineno="11" refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref><sp/>=<sp/>Kval</highlight></codeline>
<codeline lineno="12" refid="classunrol__radial_1_1_qijk_1a09a48c7f163297b004a701ec253beb9c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a09a48c7f163297b004a701ec253beb9c" kindref="member">size</ref><sp/>=<sp/>2*self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref><sp/>+<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref><sp/>+<sp/>1</highlight></codeline>
<codeline lineno="13" refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref>-self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref>-self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref></highlight></codeline>
<codeline lineno="14" refid="classunrol__radial_1_1_qijk_1a9c6f9f85074c20f0a1490b91d96363e7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9c6f9f85074c20f0a1490b91d96363e7" kindref="member">end</ref><sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref>+self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref></highlight></codeline>
<codeline lineno="15" refid="classunrol__radial_1_1_qijk_1a875fec8f932c72df77e532e38ff31f23" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a875fec8f932c72df77e532e38ff31f23" kindref="member">subq</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="16" refid="classunrol__radial_1_1_qijk_1ae01082682037997e67455c44290fda74" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1ae01082682037997e67455c44290fda74" kindref="member">terms</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="17" refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="18" refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="19" refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="20" refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="21" refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref><sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(self.<ref refid="classunrol__radial_1_1_qijk_1a09a48c7f163297b004a701ec253beb9c" kindref="member">size</ref>):</highlight></codeline>
<codeline lineno="23"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>.append([])</highlight></codeline>
<codeline lineno="24"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="25" refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(self):</highlight></codeline>
<codeline lineno="26"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;Q&quot;</highlight><highlight class="normal">,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref>,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref>,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref>)</highlight></codeline>
<codeline lineno="27"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>)):</highlight></codeline>
<codeline lineno="28"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(i+self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref>,<sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="29"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>j<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i])):</highlight></codeline>
<codeline lineno="30"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i][j])</highlight></codeline>
<codeline lineno="31"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="32" refid="classunrol__radial_1_1_qijk_1a2151c6b5f04181ebd1a2fe126098ae81" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1a2151c6b5f04181ebd1a2fe126098ae81" kindref="member">print_simple</ref>(self):</highlight></codeline>
<codeline lineno="33"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;Q&quot;</highlight><highlight class="normal">,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref>,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref>,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref>)</highlight></codeline>
<codeline lineno="34"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>)):</highlight></codeline>
<codeline lineno="35"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(i+self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref>,<sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal">,<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i]))</highlight></codeline>
<codeline lineno="36"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="37" refid="classunrol__radial_1_1_qijk_1aabbd2439261a6e298a0f4ec02a2d6340" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1aabbd2439261a6e298a0f4ec02a2d6340" kindref="member">print_fgh</ref>(self):</highlight></codeline>
<codeline lineno="38"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;Q&quot;</highlight><highlight class="normal">,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref>,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref>,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref>)</highlight></codeline>
<codeline lineno="39"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref>)):</highlight></codeline>
<codeline lineno="40"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i+self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref></highlight></codeline>
<codeline lineno="41"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>&gt;<sp/>0:</highlight></codeline>
<codeline lineno="42"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;F&quot;</highlight><highlight class="normal">,<sp/>ix,<sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal">,<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref>[i]))</highlight></codeline>
<codeline lineno="43"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref>)):</highlight></codeline>
<codeline lineno="44"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i<sp/>+<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>+<sp/>1</highlight></codeline>
<codeline lineno="45"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>&gt;<sp/>0:</highlight></codeline>
<codeline lineno="46"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;GB&quot;</highlight><highlight class="normal">,<sp/>ix,<sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal">,<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref>[i]))</highlight></codeline>
<codeline lineno="47"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>)):</highlight></codeline>
<codeline lineno="48"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i<sp/>+<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>+<sp/>1</highlight></codeline>
<codeline lineno="49"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>&gt;<sp/>0:</highlight></codeline>
<codeline lineno="50"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;GA&quot;</highlight><highlight class="normal">,<sp/>ix,<sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal">,<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[i]))</highlight></codeline>
<codeline lineno="51"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>)):</highlight></codeline>
<codeline lineno="52"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i+self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>+<sp/>2</highlight></codeline>
<codeline lineno="53"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>&gt;<sp/>0:</highlight></codeline>
<codeline lineno="54"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;H&quot;</highlight><highlight class="normal">,<sp/>ix,<sp/></highlight><highlight class="stringliteral">&quot;:&quot;</highlight><highlight class="normal">,<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[i]))</highlight></codeline>
<codeline lineno="55"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="56" refid="classunrol__radial_1_1_qijk_1ad3d2dead58aa2dfb6e5c1aae0b97d9d7" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1ad3d2dead58aa2dfb6e5c1aae0b97d9d7" kindref="member">write_code</ref>(self,<sp/>f):</highlight></codeline>
<codeline lineno="57"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\tcase&quot;</highlight><highlight class="normal">,<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a13c97ec2c24cebb9837e489d529e506d" kindref="member">i</ref>*10000+self.<ref refid="classunrol__radial_1_1_qijk_1a8b2b786c8c0a40954fa43e3acd9932ad" kindref="member">j</ref>*100+self.<ref refid="classunrol__radial_1_1_qijk_1aee510945a68eeeda4358f845fb9c5f8b" kindref="member">k</ref>,<sp/></highlight><highlight class="stringliteral">&quot;:<sp/>{&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="58"><highlight class="normal"></highlight></codeline>
<codeline lineno="59"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref>)):</highlight></codeline>
<codeline lineno="60"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i+self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref></highlight></codeline>
<codeline lineno="61"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>==<sp/>2:</highlight></codeline>
<codeline lineno="62"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simp<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref>[i])</highlight></codeline>
<codeline lineno="63"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>simp!=<sp/>0:</highlight></codeline>
<codeline lineno="64"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tresult<sp/>=<sp/>(&quot;</highlight><highlight class="normal">,<sp/>simp,<sp/></highlight><highlight class="stringliteral">&quot;)<sp/>*<sp/>values[0];&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="65"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>ix<sp/>&gt;<sp/>2:</highlight></codeline>
<codeline lineno="66"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simp<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref>[i])</highlight></codeline>
<codeline lineno="67"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>simp!=<sp/>0:</highlight></codeline>
<codeline lineno="68"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tresult<sp/>+=<sp/>(&quot;</highlight><highlight class="normal">,<sp/>simp,<sp/></highlight><highlight class="stringliteral">&quot;)<sp/>*<sp/>values[&quot;</highlight><highlight class="normal">,<sp/>ix-2,<sp/></highlight><highlight class="stringliteral">&quot;];&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="69"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="70"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref>)):</highlight></codeline>
<codeline lineno="71"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i<sp/>+<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>+<sp/>1</highlight></codeline>
<codeline lineno="72"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>==<sp/>1:</highlight></codeline>
<codeline lineno="73"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simp<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref>[i])</highlight></codeline>
<codeline lineno="74"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>simp!=<sp/>0:</highlight></codeline>
<codeline lineno="75"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tresult<sp/>+=<sp/>(&quot;</highlight><highlight class="normal">,<sp/>simp,<sp/></highlight><highlight class="stringliteral">&quot;)<sp/>*<sp/>G1B;&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="76"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>ix<sp/>&gt;<sp/>1:</highlight></codeline>
<codeline lineno="77"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simp<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref>[i])</highlight></codeline>
<codeline lineno="78"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>simp!=<sp/>0:</highlight></codeline>
<codeline lineno="79"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tresult<sp/>+=<sp/>(&quot;</highlight><highlight class="normal">,<sp/>simp,<sp/></highlight><highlight class="stringliteral">&quot;)<sp/>*<sp/>values[&quot;</highlight><highlight class="normal">,<sp/>ix-2,<sp/></highlight><highlight class="stringliteral">&quot;];&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="80"><highlight class="normal"></highlight></codeline>
<codeline lineno="81"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>)):</highlight></codeline>
<codeline lineno="82"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i<sp/>+<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>+<sp/>1</highlight></codeline>
<codeline lineno="83"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>==<sp/>1:</highlight></codeline>
<codeline lineno="84"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simp<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[i])</highlight></codeline>
<codeline lineno="85"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>simp<sp/>!=<sp/>0:</highlight></codeline>
<codeline lineno="86"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tresult<sp/>+=<sp/>(&quot;</highlight><highlight class="normal">,<sp/>simp,<sp/></highlight><highlight class="stringliteral">&quot;)<sp/>*<sp/>G1A;&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="87"><highlight class="normal"></highlight></codeline>
<codeline lineno="88"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>)):</highlight></codeline>
<codeline lineno="89"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2*i+self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>+<sp/>2</highlight></codeline>
<codeline lineno="90"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>==<sp/>2:</highlight></codeline>
<codeline lineno="91"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simp<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[i])</highlight></codeline>
<codeline lineno="92"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>simp!=<sp/>0:</highlight></codeline>
<codeline lineno="93"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tresult<sp/>+=<sp/>(&quot;</highlight><highlight class="normal">,<sp/>simp,<sp/></highlight><highlight class="stringliteral">&quot;)<sp/>*<sp/>H2;&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="94"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="95"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t\tbreak;&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="96"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="classunrol__radial_1_1_qijk_1abdf73c1a9fc867f4996ff2ad285d1d8e" kindref="member">print</ref>(</highlight><highlight class="stringliteral">&quot;\t\t\t\t\t\t\t\t\t}&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="97"><highlight class="normal"></highlight></codeline>
<codeline lineno="98" refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1a1085072adb017feb8d9f8d13afd98448" kindref="member">simplify</ref>(self):</highlight></codeline>
<codeline lineno="99"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simple_bases<sp/>=<sp/>[]</highlight></codeline>
<codeline lineno="100"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>)):</highlight></codeline>
<codeline lineno="101"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;x&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="102"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>y<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;y&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="103"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;z&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="104"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>0</highlight></codeline>
<codeline lineno="105"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>j<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i])):</highlight></codeline>
<codeline lineno="106"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>z<sp/>+<sp/><ref refid="namespaceunrol__radial_1aff823186ee3dc7e823e3f1a858233df6" kindref="member">parse</ref>(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i][j])</highlight></codeline>
<codeline lineno="107"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>simple_bases.append(z)</highlight></codeline>
<codeline lineno="108"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref><sp/>=<sp/>simple_bases</highlight></codeline>
<codeline lineno="109"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="110" refid="classunrol__radial_1_1_qijk_1a4daf5ba9c398f8a5fcaf7f1fc1d02a0c" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1a4daf5ba9c398f8a5fcaf7f1fc1d02a0c" kindref="member">sort</ref>(self):</highlight></codeline>
<codeline lineno="111"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>)):</highlight></codeline>
<codeline lineno="112"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>i<sp/>%<sp/>2<sp/>==<sp/>0:</highlight></codeline>
<codeline lineno="113"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa7c08cc37af033e46fcb07cf4ff636d8" kindref="member">f</ref>.append(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i])</highlight></codeline>
<codeline lineno="114"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="115"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a2531027222ac28a85ccc67d9bb1e97ab" kindref="member">gb</ref>.append(self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[i])</highlight></codeline>
<codeline lineno="116"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="117" refid="classunrol__radial_1_1_qijk_1a2d6b98b81c59ea2d80ad318c28c72116" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="classunrol__radial_1_1_qijk_1a2d6b98b81c59ea2d80ad318c28c72116" kindref="member">eliminate</ref>(self):</highlight></codeline>
<codeline lineno="118"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>x<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;x&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="119"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>y<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;y&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="120"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;z&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="121"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>p<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;p&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="122"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>0</highlight></codeline>
<codeline lineno="123"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="124"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref><sp/>&lt;<sp/>1:</highlight></codeline>
<codeline lineno="125"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9c6f9f85074c20f0a1490b91d96363e7" kindref="member">end</ref><sp/>&lt;<sp/>1:</highlight></codeline>
<codeline lineno="126"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>.append(z)</highlight></codeline>
<codeline lineno="127"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9c6f9f85074c20f0a1490b91d96363e7" kindref="member">end</ref><sp/>&lt;<sp/>2:</highlight></codeline>
<codeline lineno="128"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>.append(z)</highlight></codeline>
<codeline lineno="129"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="130"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;w&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="131"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="132"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>N<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aa953c0bf67f31bb2a42a428b3d75a67f" kindref="member">start</ref></highlight></codeline>
<codeline lineno="133"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>0</highlight></codeline>
<codeline lineno="134"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>gaix<sp/>=<sp/>-1</highlight></codeline>
<codeline lineno="135"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>hix<sp/><sp/>=<sp/>-1</highlight></codeline>
<codeline lineno="136"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="137"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">while</highlight><highlight class="normal"><sp/>(N<sp/>&lt;<sp/>1):</highlight></codeline>
<codeline lineno="138"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix]</highlight></codeline>
<codeline lineno="139"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+2]</highlight></codeline>
<codeline lineno="140"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>+<sp/>(2<sp/>*<sp/>p<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="141"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+2]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="142"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="143"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+1]</highlight></codeline>
<codeline lineno="144"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2<sp/>*<sp/>y<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="145"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+1]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="146"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="147"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>ix<sp/>%<sp/>2<sp/>==<sp/>0:</highlight></codeline>
<codeline lineno="148"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>gaix<sp/>&gt;<sp/>-1:</highlight></codeline>
<codeline lineno="149"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[gaix]</highlight></codeline>
<codeline lineno="150"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2*x<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="151"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[gaix]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="152"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="153"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>-(2*x<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="154"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>.append(w)</highlight></codeline>
<codeline lineno="155"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>gaix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="156"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="157"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>hix<sp/>&gt;<sp/>-1:</highlight></codeline>
<codeline lineno="158"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[hix]</highlight></codeline>
<codeline lineno="159"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>(2<sp/>*<sp/>p<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="160"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>.append(w)</highlight></codeline>
<codeline lineno="161"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>hix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="162"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="163"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[gaix]</highlight></codeline>
<codeline lineno="164"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2<sp/>*<sp/>y<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="165"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[gaix]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="166"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="167"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+1]</highlight></codeline>
<codeline lineno="168"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2<sp/>*<sp/>x<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="169"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+1]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="170"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="171"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>hix<sp/>&gt;<sp/>-1:</highlight></codeline>
<codeline lineno="172"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[hix]</highlight></codeline>
<codeline lineno="173"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2*x<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="174"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[hix]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="175"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="176"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>-<sp/>(2*x<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="177"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>.append(w)</highlight></codeline>
<codeline lineno="178"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>hix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="179"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="180"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>gaix<sp/>&gt;<sp/>-1:</highlight></codeline>
<codeline lineno="181"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>[gaix]</highlight></codeline>
<codeline lineno="182"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>(2<sp/>*<sp/>p<sp/>/(N-1))<sp/>*<sp/>z</highlight></codeline>
<codeline lineno="183"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a1673d45d057b9948beb17b4fb380f43e" kindref="member">ga</ref>.append(w)</highlight></codeline>
<codeline lineno="184"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>gaix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="185"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="186"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[hix]</highlight></codeline>
<codeline lineno="187"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2<sp/>*<sp/>y<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="188"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1aadecf334f051c42482f1c47b05dc7694" kindref="member">h</ref>[hix]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="189"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="190"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+1]</highlight></codeline>
<codeline lineno="191"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>w<sp/>=<sp/>w<sp/>-<sp/>(2*x<sp/>/<sp/>(N-1))*z</highlight></codeline>
<codeline lineno="192"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>self.<ref refid="classunrol__radial_1_1_qijk_1a9afa1224c15304b1de7a5155829ef20f" kindref="member">bases</ref>[ix+1]<sp/>=<sp/>w</highlight></codeline>
<codeline lineno="193"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="194"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>N<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="195"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="196"><highlight class="normal"></highlight></codeline>
<codeline lineno="197" refid="namespaceunrol__radial_1aff823186ee3dc7e823e3f1a858233df6" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="namespaceunrol__radial_1aff823186ee3dc7e823e3f1a858233df6" kindref="member">parse</ref>(term):</highlight></codeline>
<codeline lineno="198"><highlight class="normal"><sp/><sp/><sp/><sp/>x<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;x&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="199"><highlight class="normal"><sp/><sp/><sp/><sp/>y<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;y&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="200"><highlight class="normal"><sp/><sp/><sp/><sp/>p<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;p&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="201"><highlight class="normal"><sp/><sp/><sp/><sp/>bits<sp/>=<sp/>term.split(</highlight><highlight class="stringliteral">&apos;,&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="202"><highlight class="normal"><sp/><sp/><sp/><sp/>z<sp/>=<sp/>Symbol(</highlight><highlight class="stringliteral">&apos;z&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="203"><highlight class="normal"><sp/><sp/><sp/><sp/>z<sp/>=<sp/>1</highlight></codeline>
<codeline lineno="204"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>bit<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>bits:</highlight></codeline>
<codeline lineno="205"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>bi<sp/>=<sp/>bit[:2]</highlight></codeline>
<codeline lineno="206"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>bi<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;mu&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="207"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>=<sp/>2</highlight></codeline>
<codeline lineno="208"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>i<sp/>=<sp/>0</highlight></codeline>
<codeline lineno="209"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>j<sp/>=<sp/>0</highlight></codeline>
<codeline lineno="210"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>k<sp/>=<sp/>0</highlight></codeline>
<codeline lineno="211"><highlight class="normal"></highlight></codeline>
<codeline lineno="212"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>I<sp/>=<sp/>bit[ix]</highlight></codeline>
<codeline lineno="213"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>I<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;-&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="214"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="215"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>i<sp/>=<sp/>-int(bit[ix])</highlight></codeline>
<codeline lineno="216"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="217"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>i<sp/>=<sp/>int(I)</highlight></codeline>
<codeline lineno="218"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="219"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="220"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>J<sp/>=<sp/>bit[ix]</highlight></codeline>
<codeline lineno="221"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>J<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;-&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="222"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="223"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>j<sp/>=<sp/>-int(bit[ix])</highlight></codeline>
<codeline lineno="224"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="225"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>j<sp/>=<sp/>int(J)</highlight></codeline>
<codeline lineno="226"><highlight class="normal"></highlight></codeline>
<codeline lineno="227"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="228"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>K<sp/>=<sp/>bit[ix]</highlight></codeline>
<codeline lineno="229"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>K<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;-&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="230"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>ix<sp/>+=<sp/>1</highlight></codeline>
<codeline lineno="231"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>k<sp/>=<sp/>-int(bit[ix])</highlight></codeline>
<codeline lineno="232"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="233"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>k<sp/>=<sp/>int(K)</highlight></codeline>
<codeline lineno="234"><highlight class="normal"></highlight></codeline>
<codeline lineno="235"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>z<sp/>*<sp/>(2<sp/>+<sp/>j<sp/>-<sp/>i<sp/>-<sp/>k)/(2*x)</highlight></codeline>
<codeline lineno="236"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>bi<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;nu&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="237"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>z<sp/>*<sp/>(-y/x)</highlight></codeline>
<codeline lineno="238"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>bi<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;xi&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="239"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>z<sp/>*<sp/>p/x</highlight></codeline>
<codeline lineno="240"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>bi<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;rh&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="241"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>j<sp/>=<sp/>int(bit[3])</highlight></codeline>
<codeline lineno="242"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>z<sp/>*<sp/>(1<sp/>-<sp/>2*j)/(2*y)</highlight></codeline>
<codeline lineno="243"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>bi<sp/>==<sp/></highlight><highlight class="stringliteral">&quot;om&quot;</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="244"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>z<sp/>=<sp/>z<sp/>*<sp/>-1<sp/>/<sp/>(2*y)</highlight></codeline>
<codeline lineno="245"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>z</highlight></codeline>
<codeline lineno="246"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="247" refid="namespaceunrol__radial_1afc2f4f223df08979b137c507be4bbd37" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="namespaceunrol__radial_1afc2f4f223df08979b137c507be4bbd37" kindref="member">unrol</ref>(q):</highlight></codeline>
<codeline lineno="248"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(q.i<sp/>==<sp/>0<sp/></highlight><highlight class="keywordflow">and</highlight><highlight class="normal"><sp/>q.j<sp/>==<sp/>0):</highlight></codeline>
<codeline lineno="249"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="250"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">elif</highlight><highlight class="normal"><sp/>(q.i<sp/>&gt;<sp/>0):</highlight></codeline>
<codeline lineno="251"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q1<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>q.i-1,<sp/>Jval<sp/>=<sp/>q.j,<sp/>Kval<sp/>=<sp/>q.k-1)</highlight></codeline>
<codeline lineno="252"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q1)</highlight></codeline>
<codeline lineno="253"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;mu&quot;</highlight><highlight class="normal"><sp/>+<sp/>str(q.i)<sp/>+<sp/>str(q.j)<sp/>+<sp/>str(q.k))</highlight></codeline>
<codeline lineno="254"><highlight class="normal"></highlight></codeline>
<codeline lineno="255"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q2<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>q.i-1,<sp/>Jval<sp/>=<sp/>q.j-1,<sp/>Kval<sp/>=<sp/>q.k)</highlight></codeline>
<codeline lineno="256"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q2)</highlight></codeline>
<codeline lineno="257"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;nu&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="258"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="259"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q3<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>q.i-1,<sp/>Jval<sp/>=<sp/>q.j,<sp/>Kval<sp/>=<sp/>q.k+1)</highlight></codeline>
<codeline lineno="260"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q3)</highlight></codeline>
<codeline lineno="261"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;xi&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="262"><highlight class="normal"><sp/><sp/><sp/><sp/>elif(q.j<sp/>&gt;<sp/>1):</highlight></codeline>
<codeline lineno="263"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q1<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>0,<sp/>Jval<sp/>=<sp/>q.j-2,<sp/>Kval<sp/>=<sp/>q.k)</highlight></codeline>
<codeline lineno="264"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q1)</highlight></codeline>
<codeline lineno="265"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;sigma&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="266"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="267"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q2<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>0,<sp/>Jval<sp/>=<sp/>q.j-1,<sp/>Kval<sp/>=<sp/>q.k-1)</highlight></codeline>
<codeline lineno="268"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q2)</highlight></codeline>
<codeline lineno="269"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;rho&quot;</highlight><highlight class="normal"><sp/>+<sp/>str(q.j))</highlight></codeline>
<codeline lineno="270"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="271"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q1<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>0,<sp/>Jval<sp/>=<sp/>0,<sp/>Kval<sp/>=<sp/>q.k)</highlight></codeline>
<codeline lineno="272"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q1)</highlight></codeline>
<codeline lineno="273"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;ups&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="274"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="275"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q2<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>0,<sp/>Jval<sp/>=<sp/>0,<sp/>Kval<sp/>=<sp/>q.k-1)</highlight></codeline>
<codeline lineno="276"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.subq.append(q2)</highlight></codeline>
<codeline lineno="277"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.terms.append(</highlight><highlight class="stringliteral">&quot;om&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="278"><highlight class="normal"></highlight></codeline>
<codeline lineno="279"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(q.subq)):</highlight></codeline>
<codeline lineno="280"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceunrol__radial_1afc2f4f223df08979b137c507be4bbd37" kindref="member">unrol</ref>(q.subq[i])</highlight></codeline>
<codeline lineno="281"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight></codeline>
<codeline lineno="282"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"></highlight></codeline>
<codeline lineno="283"><highlight class="normal"></highlight></codeline>
<codeline lineno="284" refid="namespaceunrol__radial_1a2cd46d9b308d3d493fdd7a516019c717" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="namespaceunrol__radial_1a2cd46d9b308d3d493fdd7a516019c717" kindref="member">collect</ref>(q,<sp/>Q,<sp/>term):</highlight></codeline>
<codeline lineno="285"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(q.i<sp/>==<sp/>0<sp/></highlight><highlight class="keywordflow">and</highlight><highlight class="normal"><sp/>q.j<sp/>==<sp/>0):</highlight></codeline>
<codeline lineno="286"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>Q.bases[q.k-Q.start].append(term)</highlight></codeline>
<codeline lineno="287"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">else</highlight><highlight class="normal">:</highlight></codeline>
<codeline lineno="288"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(len(q.subq)):</highlight></codeline>
<codeline lineno="289"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><ref refid="namespaceunrol__radial_1a2cd46d9b308d3d493fdd7a516019c717" kindref="member">collect</ref>(q.subq[i],<sp/>Q,<sp/>term<sp/>+<sp/>q.terms[i]<sp/>+<sp/></highlight><highlight class="stringliteral">&quot;,&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="290"><highlight class="normal"></highlight></codeline>
<codeline lineno="291" refid="namespaceunrol__radial_1a48a1059eae24c36cd6464073577d147a" refkind="member"><highlight class="normal"></highlight><highlight class="keyword">def<sp/></highlight><highlight class="normal"><ref refid="namespaceunrol__radial_1a48a1059eae24c36cd6464073577d147a" kindref="member">algebraic_unrol</ref>(i,<sp/>j,<sp/>k):</highlight></codeline>
<codeline lineno="292"><highlight class="normal"><sp/><sp/><sp/><sp/>q<sp/>=<sp/><ref refid="classunrol__radial_1_1_qijk" kindref="compound">Qijk</ref>(Ival<sp/>=<sp/>i,<sp/>Jval<sp/>=<sp/>j,<sp/>Kval<sp/>=<sp/>k)</highlight></codeline>
<codeline lineno="293"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceunrol__radial_1afc2f4f223df08979b137c507be4bbd37" kindref="member">unrol</ref>(q)</highlight></codeline>
<codeline lineno="294"><highlight class="normal"><sp/><sp/><sp/><sp/><ref refid="namespaceunrol__radial_1a2cd46d9b308d3d493fdd7a516019c717" kindref="member">collect</ref>(q,<sp/>q,<sp/></highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="295"><highlight class="normal"><sp/><sp/><sp/><sp/>q.simplify()</highlight></codeline>
<codeline lineno="296"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">return</highlight><highlight class="normal"><sp/>q</highlight></codeline>
<codeline lineno="297"><highlight class="normal"></highlight></codeline>
<codeline lineno="298"><highlight class="normal"></highlight></codeline>
<codeline lineno="299" refid="namespaceunrol__radial_1a582dde0241adf8b3a95b4459b4d49b2b" refkind="member"><highlight class="normal">f<sp/>=<sp/>open(</highlight><highlight class="stringliteral">&apos;radial_gen.part2&apos;</highlight><highlight class="normal">,<sp/></highlight><highlight class="stringliteral">&apos;w&apos;</highlight><highlight class="normal">)</highlight></codeline>
<codeline lineno="300" refid="namespaceunrol__radial_1a02363db1e3121f4cb64855282f206fff" refkind="member"><highlight class="normal">print(</highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
<codeline lineno="301"><highlight class="normal"></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>j<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(MAX_UNROL_AM+1):</highlight></codeline>
<codeline lineno="302"><highlight class="normal"><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(j+1):</highlight></codeline>
<codeline lineno="303"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>k<sp/></highlight><highlight class="keywordflow">in</highlight><highlight class="normal"><sp/>range(1,<sp/>3*MAX_UNROL_AM+1-i-j):</highlight></codeline>
<codeline lineno="304"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">if</highlight><highlight class="normal"><sp/>(i<sp/>+<sp/>j<sp/>+<sp/>k)<sp/>%<sp/>2<sp/>==<sp/>0:<sp/></highlight></codeline>
<codeline lineno="305" refid="namespaceunrol__radial_1a032ec358895dd239986cf46342a0de86" refkind="member"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q<sp/>=<sp/><ref refid="namespaceunrol__radial_1a48a1059eae24c36cd6464073577d147a" kindref="member">algebraic_unrol</ref>(i,<sp/>j,<sp/>k)</highlight></codeline>
<codeline lineno="306"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.eliminate()</highlight></codeline>
<codeline lineno="307"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.sort()</highlight></codeline>
<codeline lineno="308"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>q.write_code(f)</highlight></codeline>
<codeline lineno="309"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>print(</highlight><highlight class="stringliteral">&quot;&quot;</highlight><highlight class="normal">,<sp/>file=f)</highlight></codeline>
    </programlisting>
    <location file="/Users/robertshaw/devfiles/libecpint/src/generated/radial/unrol_radial.py"/>
  </compounddef>
</doxygen>
