<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.96.4909.6802"?>
<regions>
  <settings>
    <identity>
      <id>3dbecb0f-5bf9-428b-9bda-9ef9fd1702f8</id>
      <revision>5</revision>
    </identity>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="39" bottom="39" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependences>
      <assembly name="SMath Studio Desktop" version="0.96.4909.6802" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Text Region" version="1.9.4909.6785" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Math Region" version="0.96.4909.6802" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Statistical Tools" version="1.0.4902.38391" guid="76f6e9f5-ac86-4ffb-9e4d-284c8daecaf9" />
      <assembly name="Special Functions" version="1.10.4909.6779" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
    </dependences>
  </settings>
  <region id="0" left="18" top="18" width="414" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p bold="true">Programming example: How to create block matrices
and how to join them into a single matrix</p>
    </text>
  </region>
  <region id="1" left="513" top="18" width="177" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Chapter Matrices.sm">Vektoren und Matrizen</p>
    </text>
    <text lang="eng">
      <p href="Chapter Matrices.sm">Vectors and Matrices</p>
    </text>
  </region>
  <region id="2" left="513" top="36" width="103" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Kapitel Programmierung.sm">Programmierung</p>
    </text>
    <text lang="eng">
      <p href="Kapitel Programmierung.sm">Programming</p>
    </text>
  </region>
  <region id="3" left="513" top="54" width="78" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p href="Handbook.sm">Inhalt</p>
    </text>
    <text lang="eng">
      <p href="Handbook.sm">Contents</p>
    </text>
  </region>
  <region id="4" left="18" top="90" width="708" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>In this example, the dimensions are fully randomized in order to test the reliability
of the procedure for joining the blocks.</p>
    </text>
  </region>
  <region id="5" left="18" top="135" width="51" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">mn</e>
        <e type="operand">1</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="90" top="135" width="51" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">mx</e>
        <e type="operand">4</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="18" top="171" width="194" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">Dim</e>
        <e type="operand">2</e>
        <e type="operand">mn</e>
        <e type="operand">mx</e>
        <e type="function" preserve="true" args="3">Random.N</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="8" left="252" top="171" width="107" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">Dim</e>
        <e type="function" preserve="true" args="1">transpose</e>
      </input>
      <result action="numeric">
        <e type="operand">4</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
      </result>
    </math>
  </region>
  <region id="9" left="18" top="207" width="208" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">R</e>
        <e type="operand">Dim</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">mn</e>
        <e type="operand">mx</e>
        <e type="function" preserve="true" args="3">Random.N</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="10" left="252" top="207" width="122" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">R</e>
        <e type="function" preserve="true" args="1">transpose</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="11" left="18" top="243" width="208" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">C</e>
        <e type="operand">Dim</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">mn</e>
        <e type="operand">mx</e>
        <e type="function" preserve="true" args="3">Random.N</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="12" left="252" top="243" width="122" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">C</e>
        <e type="function" preserve="true" args="1">transpose</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="13" left="18" top="279" width="273" height="82" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">Dim</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">Dim</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">M</e>
        <e type="operand">j</e>
        <e type="operand">k</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">R</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">C</e>
        <e type="operand">k</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">0</e>
        <e type="operand">9</e>
        <e type="function" preserve="true" args="4">Random.N</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="function" preserve="true" args="3">for</e>
      </input>
    </math>
  </region>
  <region id="14" left="396" top="288" width="226" height="178" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">M</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">0</e>
        <e type="operand">7</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="10">mat</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operand">9</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">mat</e>
        <e type="operand">4</e>
        <e type="operand">7</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="operand">3</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="8">mat</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="14">mat</e>
        <e type="operand">5</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">0</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="8">mat</e>
        <e type="operand">5</e>
        <e type="operand">0</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">mat</e>
        <e type="operand">6</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="6">mat</e>
        <e type="operand">5</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="4">mat</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">mat</e>
        <e type="operand">0</e>
        <e type="operand">8</e>
        <e type="operand">7</e>
        <e type="operand">5</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="8">mat</e>
        <e type="operand">8</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">8</e>
        <e type="operand">0</e>
        <e type="operand">8</e>
        <e type="operand">3</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="14">mat</e>
        <e type="operand">6</e>
        <e type="operand">3</e>
        <e type="operand">6</e>
        <e type="operand">1</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">3</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="8">mat</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">mat</e>
        <e type="operand">4</e>
        <e type="operand">4</e>
        <e type="function" preserve="true" args="18">mat</e>
      </result>
    </math>
  </region>
  <region id="15" left="18" top="396" width="376" height="168" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">M</e>
        <e type="function" args="1">joinRows</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operand">M</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">Rt</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">M</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operator" args="2">:</e>
        <e type="operand">M</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">k</e>
        <e type="operand">2</e>
        <e type="operand">M</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">Rt</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">Rt</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">M</e>
        <e type="operand">j</e>
        <e type="operand">k</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="function" preserve="true" args="2">augment</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">0</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">Rt</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="16" left="18" top="567" width="138" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">tmp</e>
        <e type="operand">M</e>
        <e type="function" args="1">joinRows</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="17" left="18" top="585" width="193" height="52" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">res</e>
        <e type="operand">tmp</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="function" args="1">joinRows</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="18" left="387" top="594" width="207" height="170" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">res</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">2</e>
        <e type="operand">5</e>
        <e type="operand">7</e>
        <e type="operand">0</e>
        <e type="operand">7</e>
        <e type="operand">4</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="operand">5</e>
        <e type="operand">4</e>
        <e type="operand">7</e>
        <e type="operand">5</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">5</e>
        <e type="operand">9</e>
        <e type="operand">5</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">0</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">0</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="operand">6</e>
        <e type="operand">0</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="operand">5</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="operand">0</e>
        <e type="operand">8</e>
        <e type="operand">8</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">6</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">7</e>
        <e type="operand">5</e>
        <e type="operand">8</e>
        <e type="operand">0</e>
        <e type="operand">8</e>
        <e type="operand">3</e>
        <e type="operand">6</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="operand">9</e>
        <e type="operand">9</e>
        <e type="function" preserve="true" args="83">mat</e>
      </result>
    </math>
  </region>
  <region id="19" left="18" top="774" width="450" height="40" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="ger">
      <p italic="true">$Author: mkraska $
$Date: 2014-01-03 00:31:00 +0100 (Fr, 03. Jan 2014) $ </p>
    </text>
  </region>
</regions>