﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7818.32498"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>9e785382-d63b-4f6d-b38f-ec15d06416fc</id>
      <revision>6</revision>
    </identity>
    <metadata lang="spa">
      <author>dysup</author>
    </metadata>
    <calculation>
      <precision>2</precision>
      <exponentialThreshold>7</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="true" printAreas="true" simpleEqualsOnly="true" printBackgroundImages="true">
      <paper id="1" orientation="Portrait" width="850" height="1100" />
      <margins left="39" right="39" top="125" bottom="62" />
      <header alignment="Center" color="#a9a9a9">&amp;[DATE] &amp;[TIME] - &amp;[FILENAME]</header>
      <footer alignment="Center" color="#a9a9a9">&amp;[PAGENUM] / &amp;[COUNT]</footer>
      <backgrounds />
    </pageModel>
    <dependencies>
      <assembly name="SMath Studio Desktop" version="0.99.7818.32498" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="MathRegion" version="1.11.7818.32498" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="TextRegion" version="1.11.7818.32498" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="27" top="18" width="571" height="27" color="#000000" fontSize="12">
      <text lang="spa" fontFamily="Verdana" fontSize="12">
        <content>
          <p>FUNCIONES PARA MODIFICAR FIGURAS (MATRICES) TIPO AUTOCAD</p>
        </content>
      </text>
    </region>
    <region left="36" top="72" width="242" height="57" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">θ</e>
          <e type="function" args="1">rot</e>
          <e type="operand">θ</e>
          <e type="function" args="1">cos</e>
          <e type="operand">θ</e>
          <e type="function" args="1">sin</e>
          <e type="operator" args="1">-</e>
          <e type="operand">θ</e>
          <e type="function" args="1">sin</e>
          <e type="operand">θ</e>
          <e type="function" args="1">cos</e>
          <e type="operand">2</e>
          <e type="operand">2</e>
          <e type="function" args="6">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="162" width="310" height="33" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="operand">θ</e>
          <e type="function" args="2">rotate</e>
          <e type="operand">coord</e>
          <e type="operand">θ</e>
          <e type="function" args="1">rot</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="198" width="311" height="31" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="operand">fact</e>
          <e type="function" args="2">scale</e>
          <e type="operand">coord</e>
          <e type="operand">fact</e>
          <e type="operator" args="2">*</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="234" width="610" height="37" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="3">scale</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operand">x</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="operand">coord</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operand">y</e>
          <e type="operator" args="2">*</e>
          <e type="bracket">(</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="270" width="620" height="37" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="operand">x</e>
          <e type="operand">y</e>
          <e type="function" args="3">move</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operand">x</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="operand">coord</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operand">y</e>
          <e type="operator" args="2">+</e>
          <e type="bracket">(</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="315" width="557" height="35" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="function" args="1">mirrorV</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="operand">coord</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="360" width="557" height="35" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="function" args="1">mirrorH</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operand">coord</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operand">1</e>
          <e type="operator" args="1">-</e>
          <e type="bracket">(</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="396" width="706" height="241" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="operand">val</e>
          <e type="operand">cgx</e>
          <e type="operand">cgy</e>
          <e type="function" args="4">offset</e>
          <e type="operand">n</e>
          <e type="operand">coord</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
          <e type="operand">MO</e>
          <e type="operand">n</e>
          <e type="operand">2</e>
          <e type="function" args="2">matrix</e>
          <e type="operator" args="2">:</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="operand">n</e>
          <e type="function" args="2">range</e>
          <e type="operand">MO</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">coord</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">val</e>
          <e type="operator" args="2">-</e>
          <e type="operand">coord</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">cgx</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">coord</e>
          <e type="operand">i</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">val</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">cases</e>
          <e type="operator" args="2">:</e>
          <e type="operand">MO</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">coord</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">val</e>
          <e type="operator" args="2">-</e>
          <e type="operand">coord</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">cgy</e>
          <e type="operator" args="2">&lt;</e>
          <e type="operand">coord</e>
          <e type="operand">i</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">val</e>
          <e type="operator" args="2">+</e>
          <e type="function" args="3">cases</e>
          <e type="operator" args="2">:</e>
          <e type="operand">2</e>
          <e type="operand">1</e>
          <e type="function" args="4">line</e>
          <e type="function" args="3">for</e>
          <e type="operand">MO</e>
          <e type="operand">4</e>
          <e type="operand">1</e>
          <e type="function" args="6">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="648" width="566" height="98" color="#000000" fontSize="12">
      <math optimize="2">
        <input>
          <e type="operand">M</e>
          <e type="function" args="1">SeccNeg</e>
          <e type="operand">n</e>
          <e type="operand">M</e>
          <e type="function" args="1">rows</e>
          <e type="operator" args="2">:</e>
          <e type="operand">NM</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="operand">M</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="4">mat</e>
          <e type="operator" args="2">:</e>
          <e type="operand">NM</e>
          <e type="operand">M</e>
          <e type="operand">2</e>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="5">submatrix</e>
          <e type="function" args="1">reverse</e>
          <e type="operand">NM</e>
          <e type="function" args="3">stack</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="756" width="418" height="46" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="function" args="1">Get.x</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="function" args="2">col</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">el</e>
          <e type="function" args="2">stack</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="801" width="418" height="46" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="function" args="1">Get.y</e>
          <e type="operand">coord</e>
          <e type="operand">2</e>
          <e type="function" args="2">col</e>
          <e type="operand">coord</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="function" args="3">el</e>
          <e type="function" args="2">stack</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="36" top="846" width="520" height="40" color="#000000" fontSize="12">
      <math>
        <input>
          <e type="operand">coord</e>
          <e type="function" args="1">complementa</e>
          <e type="operand">coord</e>
          <e type="function" args="1">Get.x</e>
          <e type="operand">coord</e>
          <e type="function" args="1">Get.y</e>
          <e type="function" args="2">augment</e>
          <e type="operand">1</e>
          <e type="operand">1</e>
          <e type="function" args="3">line</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
  </regions>
</worksheet>