﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.6619.16334"?>
<regions xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings dpi="96">
    <identity>
      <id>8756e0b0-4786-49cc-b282-8d7a293f7675</id>
      <revision>111</revision>
    </identity>
    <metadata lang="eng">
      <title>Functions for line intersections</title>
      <author>Marco Bernacca</author>
    </metadata>
    <calculation>
      <precision>4</precision>
      <exponentialThreshold>5</exponentialThreshold>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="true" viewMode="0" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="30" top="39" bottom="59" />
      <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.6619.16334" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.6619.16334" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Picture Region" version="1.10.6619.16336" guid="06b5df04-393e-4be7-9107-305196fcb861" />
      <assembly name="Special Functions" version="1.11.6619.16336" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Text Region" version="1.10.6619.16337" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Plot Region" version="1.10.6619.16337" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <region id="0" left="0" top="0" width="729" height="88" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>These functions have been written to implement in Smath some features that are natively provided by either Scilab or Matlab in order to make available in Smath a function originally written in Matlab to find intersections between lines.The function in subject is  P = InterX(L1, L2), written by NS. See below link:https://de.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections</p>
    </text>
  </region>
  <region id="1" left="9" top="108" width="657" height="72" border="true" color="#000000" bgColor="#f9fed8" fontSize="10">
    <text lang="eng">
      <p>Function mdiff(V)Input: a vector (either a row or a column)Output: a vector of the same nature of input (a row or a column) containing the                 differences V(i+1)-V(i). Number of output elements are lenght(V)-1.</p>
    </text>
  </region>
  <region id="2" left="774" top="153" width="421" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Guess that the submatrix version must to be faster</p>
    </text>
  </region>
  <region id="3" left="774" top="180" width="510" height="98" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" evaluate="false">
      <description active="false" position="Top" lang="eng">
        <p>Function mdiff(V)Input: a vector (either a row or a column)Output: a vector of the same nature of input (a row or a column)                  containing the differences V(i+1)-V(i).                   Number of output elements are lenght(V).</p>
      </description>
      <input>
        <e type="operand">V</e>
        <e type="function" args="1">mdiff</e>
        <e type="operand">R</e>
        <e type="operand">V</e>
        <e type="function" args="1">rows</e>
        <e type="operand">V</e>
        <e type="function" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="operand">V</e>
        <e type="function" args="1">cols</e>
        <e type="operand">V</e>
        <e type="function" args="1">cols</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">-</e>
        <e type="function" args="2">matrix</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ii</e>
        <e type="operand">1</e>
        <e type="operand">R</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="operand">R</e>
        <e type="operand">ii</e>
        <e type="function" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">ii</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="function" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">ii</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">R</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 id="4" left="9" top="189" width="578" height="84" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">V</e>
        <e type="function" args="1">mdiff</e>
        <e type="operand">V</e>
        <e type="function" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">V</e>
        <e type="operand">0</e>
        <e type="function" args="2">stack</e>
        <e type="operand">0</e>
        <e type="operand">V</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">-</e>
        <e type="operand">2</e>
        <e type="operand">V</e>
        <e type="function" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" args="5">submatrix</e>
        <e type="operand">V</e>
        <e type="operand">0</e>
        <e type="function" args="2">augment</e>
        <e type="operand">0</e>
        <e type="operand">V</e>
        <e type="function" args="2">augment</e>
        <e type="operator" args="2">-</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">V</e>
        <e type="function" args="1">cols</e>
        <e type="function" args="5">submatrix</e>
        <e type="function" args="3">if</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="468" top="279" width="68" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">z2</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="operand">7</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="549" top="279" width="145" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z2</e>
        <e type="function" args="1">mdiff</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operator" args="1">-</e>
        <e type="operand">5</e>
        <e type="operand">4</e>
        <e type="operator" args="1">-</e>
        <e type="operand">2</e>
        <e type="operator" args="1">-</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="7" left="306" top="306" width="138" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">z1</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">5</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="operand">6</e>
        <e type="function" args="8">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="8" left="774" top="306" width="298" height="39" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">V</e>
        <e type="operand">2</e>
        <e type="operand">V</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="function" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">1</e>
        <e type="operand">V</e>
        <e type="function" args="1">length</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="bracket">(</e>
        <e type="function" args="2">range</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">-</e>
      </input>
    </math>
  </region>
  <region id="9" left="99" top="315" width="86" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Examples:</p>
    </text>
  </region>
  <region id="10" left="261" top="333" width="201" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z1</e>
        <e type="function" args="1">mdiff</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="operand">5</e>
        <e type="operator" args="1">-</e>
        <e type="operand">1</e>
        <e type="operand">5</e>
        <e type="function" args="7">mat</e>
      </result>
    </math>
  </region>
  <region id="11" left="0" top="387" width="746" height="72" border="true" color="#000000" bgColor="#f9fed8" fontSize="10">
    <text lang="eng">
      <p>Function index(x; cond)Input: x: a vector (row or column). cond: expression evaluating to an array of T/F values.Output: a vector of same nature of input array whose components are those corresponding                to a TRUE value for the given condition. </p>
    </text>
  </region>
  <region id="12" left="774" top="441" width="355" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Index isn't used in this version of InterX</p>
    </text>
  </region>
  <region id="13" left="0" top="468" width="314" height="240" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <description active="false" position="Top" lang="eng">
        <p>Function index(x; cond)Input: x: a vector (row or column). cond: expression evaluating to an array of T/F values.Output: a vector of same nature of input array whose components are those corresponding                to a TRUE value for the given condition. </p>
      </description>
      <input>
        <e type="operand">V</e>
        <e type="operand">cond</e>
        <e type="function" args="2">index</e>
        <e type="operand">j</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">R</e>
        <e type="operand">0</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">cond</e>
        <e type="function" args="1">vectorize</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">V</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="operand">c</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">j</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
        <e type="operand">R</e>
        <e type="operand">j</e>
        <e type="function" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</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="operand">continue</e>
        <e type="function" args="3">if</e>
        <e type="function" args="3">for</e>
        <e type="operand">V</e>
        <e type="function" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">R</e>
        <e type="operand">R</e>
        <e type="function" args="1">transpose</e>
        <e type="function" args="3">if</e>
        <e type="function" args="1">eval</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 id="14" left="423" top="477" width="86" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Examples:</p>
    </text>
  </region>
  <region id="15" left="765" top="486" width="202" height="137" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">V</e>
        <e type="function" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">V</e>
        <e type="operand">cond</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">mwfind</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">cond</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">mwfind</e>
        <e type="operand">2</e>
        <e type="function" args="2">el</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">transpose</e>
        <e type="function" args="3">if</e>
        <e type="function" args="1">eval</e>
      </input>
    </math>
  </region>
  <region id="16" left="423" top="504" width="214" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z1</e>
        <e type="operand">z1</e>
        <e type="operand">4</e>
        <e type="operator" args="2">&gt;</e>
        <e type="function" args="2">index</e>
      </input>
      <result action="numeric">
        <e type="operand">5</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
      </result>
    </math>
  </region>
  <region id="17" left="423" top="540" width="241" height="81" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z2</e>
        <e type="operand">z1</e>
        <e type="function" args="1">mdiff</e>
        <e type="operand">0</e>
        <e type="operator" args="2">&gt;</e>
        <e type="function" args="2">index</e>
      </input>
      <result action="numeric">
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="operand">7</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="18" left="0" top="729" width="331" height="40" border="true" color="#000000" bgColor="#f9fed8" fontSize="10">
    <text lang="eng">
      <p>Function plotG(x; y; char; size; color)Thanks to Omorr!! :-)</p>
    </text>
  </region>
  <region id="19" left="0" top="783" width="699" height="98" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" args="5">plotG</e>
        <e type="operand">plot</e>
        <e type="operand">0</e>
        <e type="operand">5</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">x</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="operand">plot</e>
        <e type="operand">plot</e>
        <e type="operand">x</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">y</e>
        <e type="operand">i</e>
        <e type="function" args="2">el</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" args="5">augment</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">plot</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 id="20" left="774" top="783" width="323" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Notice the use of matrix(0,5) as NULL.</p>
    </text>
  </region>
  <region id="21" left="0" top="882" width="626" height="82" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">xy</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" args="4">plotG</e>
        <e type="operand">xy</e>
        <e type="function" args="1">cols</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">xy</e>
        <e type="operand">1</e>
        <e type="function" args="2">col</e>
        <e type="operand">xy</e>
        <e type="operand">2</e>
        <e type="function" args="2">col</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" args="5">plotG</e>
        <e type="operand">xy</e>
        <e type="function" args="1">Re</e>
        <e type="operand">xy</e>
        <e type="function" args="1">Im</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" args="5">plotG</e>
        <e type="function" args="3">if</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="22" left="0" top="972" width="731" height="98" border="true" color="#000000" bgColor="#f9fed8" fontSize="9">
    <text lang="eng">
      <p>Function map(x; y; fun(2))Input: x, y: vectors or matrices with compatible sizes. fun: a function of 2 argumensOutput: vector or matrix whose elements are fun(el(x);el(y))Apply a given function to corresponding elements of compatible arrays.For info on the Matlab concept of "arrays of compatible sizes" please refer to:https://it.mathworks.com/help/matlab/matlab_prog/compatible-array-sizes-for-basic-operations.html</p>
    </text>
  </region>
  <region id="23" left="765" top="1053" width="660" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Complete version, with error checking, but the other it's just a little faster.</p>
    </text>
  </region>
  <region id="24" left="765" top="1080" width="548" height="396" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2" evaluate="false">
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="function" args="1">fun</e>
        <e type="function" args="3">map</e>
        <e type="operand">xh</e>
        <e type="operand">x</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">xv</e>
        <e type="operand">x</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yh</e>
        <e type="operand">y</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yv</e>
        <e type="operand">y</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" args="6">mat</e>
        <e type="operand">okx</e>
        <e type="operand">xh</e>
        <e type="operand">yh</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operand">xh</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operand">yh</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">|</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">|</e>
        <e type="operator" args="2">:</e>
        <e type="operand">oky</e>
        <e type="operand">xv</e>
        <e type="operand">yv</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operand">xv</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operand">yv</e>
        <e type="operand">1</e>
        <e type="operator" args="2">≡</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">|</e>
        <e type="bracket">(</e>
        <e type="operator" args="2">|</e>
        <e type="operator" args="2">:</e>
        <e type="operand">okx</e>
        <e type="operand">oky</e>
        <e type="operator" args="2">&amp;</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">xh</e>
        <e type="operand">yh</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">yh</e>
        <e type="function" args="2">range</e>
        <e type="operand">X</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="function" args="2">augment</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operand">xh</e>
        <e type="operand">yh</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">xh</e>
        <e type="function" args="2">range</e>
        <e type="operand">Y</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="2">augment</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operand">1</e>
        <e type="function" args="3">if</e>
        <e type="function" args="3">if</e>
        <e type="operand">xv</e>
        <e type="operand">yv</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">yv</e>
        <e type="function" args="2">range</e>
        <e type="operand">X</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operand">xv</e>
        <e type="operand">yv</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">xv</e>
        <e type="function" args="2">range</e>
        <e type="operand">Y</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operand">1</e>
        <e type="function" args="3">if</e>
        <e type="function" args="3">if</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">X</e>
        <e type="operand">Y</e>
        <e type="function" args="2">fun</e>
        <e type="function" args="1">vectorize</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">line</e>
        <e type="operand" style="string">Incompatible sizes</e>
        <e type="function" args="1">error</e>
        <e type="function" args="3">if</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 id="25" left="1413" top="1080" width="250" height="278" color="#000000" bgColor="#ffffff" fontSize="10">
    <math evaluate="false">
      <input>
        <e type="operand">xc</e>
        <e type="operand">x</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">xr</e>
        <e type="operand">x</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yc</e>
        <e type="operand">y</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yr</e>
        <e type="operand">y</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" args="6">mat</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">r</e>
        <e type="operand">xr</e>
        <e type="operand">yr</e>
        <e type="function" args="2">Max</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">xc</e>
        <e type="operand">yc</e>
        <e type="function" args="2">Max</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">X</e>
        <e type="function" args="1">cols</e>
        <e type="operand">c</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">X</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="function" args="2">augment</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="2">while</e>
        <e type="operand">Y</e>
        <e type="function" args="1">cols</e>
        <e type="operand">c</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">Y</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="2">augment</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="2">while</e>
        <e type="operand">X</e>
        <e type="function" args="1">rows</e>
        <e type="operand">r</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">X</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="2">while</e>
        <e type="operand">Y</e>
        <e type="function" args="1">rows</e>
        <e type="operand">r</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">Y</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="2">while</e>
        <e type="operand">X</e>
        <e type="function" args="1">eval</e>
        <e type="operand">Y</e>
        <e type="function" args="1">eval</e>
        <e type="function" args="2">fun</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">eval</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="function" args="10">line</e>
      </input>
    </math>
  </region>
  <region id="26" left="9" top="1098" width="382" height="418" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="operand">2</e>
        <e type="function" args="1">fun</e>
        <e type="function" args="3">map</e>
        <e type="operand">xc</e>
        <e type="operand">x</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">xr</e>
        <e type="operand">x</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yc</e>
        <e type="operand">y</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yr</e>
        <e type="operand">y</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="function" args="6">mat</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">xc</e>
        <e type="operand">yc</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">0</e>
        <e type="operand">xc</e>
        <e type="operand">yc</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">yc</e>
        <e type="function" args="2">range</e>
        <e type="operand">X</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="function" args="2">augment</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">xc</e>
        <e type="function" args="2">range</e>
        <e type="operand">Y</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="2">augment</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="function" args="3">if</e>
        <e type="function" args="3">if</e>
        <e type="operand">xr</e>
        <e type="operand">yr</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">0</e>
        <e type="operand">xr</e>
        <e type="operand">yr</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">yr</e>
        <e type="function" args="2">range</e>
        <e type="operand">X</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="function" args="2">stack</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="operand">κ</e>
        <e type="operand">2</e>
        <e type="operand">xr</e>
        <e type="function" args="2">range</e>
        <e type="operand">Y</e>
        <e type="operand">Y</e>
        <e type="operand">y</e>
        <e type="function" args="2">stack</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="function" args="3">if</e>
        <e type="function" args="3">if</e>
        <e type="operand">X</e>
        <e type="operand">Y</e>
        <e type="function" args="2">fun</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">eval</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="27" left="468" top="1125" width="143" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="2">plus</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="28" left="468" top="1161" width="143" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="2">times</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="29" left="468" top="1206" width="149" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="2">minus</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="30" left="468" top="1251" width="137" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="2">divide</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="31" left="765" top="1494" width="329" height="103" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <math optimize="2" evaluate="false">
      <input>
        <e type="operand">X</e>
        <e type="operand">Y</e>
        <e type="function" args="2">fun</e>
        <e type="function" args="1">vectorize</e>
        <e type="operand">r</e>
        <e type="operand">xr</e>
        <e type="operand">yr</e>
        <e type="function" args="2">Max</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">xc</e>
        <e type="operand">yc</e>
        <e type="function" args="2">Max</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">ρ</e>
        <e type="operand">1</e>
        <e type="operand">r</e>
        <e type="function" args="2">range</e>
        <e type="operand">χ</e>
        <e type="operand">1</e>
        <e type="operand">c</e>
        <e type="function" args="2">range</e>
        <e type="operand">Z</e>
        <e type="operand">ρ</e>
        <e type="operand">χ</e>
        <e type="function" args="3">el</e>
        <e type="operand">X</e>
        <e type="operand">ρ</e>
        <e type="operand">χ</e>
        <e type="function" args="3">el</e>
        <e type="operand">Y</e>
        <e type="operand">ρ</e>
        <e type="operand">χ</e>
        <e type="function" args="3">el</e>
        <e type="function" args="2">fun</e>
        <e type="operator" args="2">:</e>
        <e type="function" args="3">for</e>
        <e type="function" args="3">for</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="4">line</e>
        <e type="operator" args="2">≡</e>
      </input>
    </math>
  </region>
  <region id="32" left="45" top="1539" width="86" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Examples:</p>
    </text>
  </region>
  <region id="33" left="45" top="1575" width="356" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z1</e>
        <e type="operand">z2</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
      </input>
      <result action="numeric">
        <e type="operand">4</e>
        <e type="operand">12</e>
        <e type="operand">20</e>
        <e type="operand">32</e>
        <e type="operand">36</e>
        <e type="operand">16</e>
        <e type="operand">2</e>
        <e type="operand">6</e>
        <e type="operand">10</e>
        <e type="operand">16</e>
        <e type="operand">18</e>
        <e type="operand">8</e>
        <e type="operand">7</e>
        <e type="operand">21</e>
        <e type="operand">35</e>
        <e type="operand">56</e>
        <e type="operand">63</e>
        <e type="operand">28</e>
        <e type="operand">3</e>
        <e type="operand">9</e>
        <e type="operand">15</e>
        <e type="operand">24</e>
        <e type="operand">27</e>
        <e type="operand">12</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">5</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="function" args="32">mat</e>
      </result>
    </math>
  </region>
  <region id="34" left="405" top="1575" width="356" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z2</e>
        <e type="operand">z1</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
      </input>
      <result action="numeric">
        <e type="operand">4</e>
        <e type="operand">12</e>
        <e type="operand">20</e>
        <e type="operand">32</e>
        <e type="operand">36</e>
        <e type="operand">16</e>
        <e type="operand">2</e>
        <e type="operand">6</e>
        <e type="operand">10</e>
        <e type="operand">16</e>
        <e type="operand">18</e>
        <e type="operand">8</e>
        <e type="operand">7</e>
        <e type="operand">21</e>
        <e type="operand">35</e>
        <e type="operand">56</e>
        <e type="operand">63</e>
        <e type="operand">28</e>
        <e type="operand">3</e>
        <e type="operand">9</e>
        <e type="operand">15</e>
        <e type="operand">24</e>
        <e type="operand">27</e>
        <e type="operand">12</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">5</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">4</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="function" args="32">mat</e>
      </result>
    </math>
  </region>
  <region id="35" left="45" top="1674" width="254" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z2</e>
        <e type="operand">z2</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
      </input>
      <result action="numeric">
        <e type="operand">16</e>
        <e type="operand">4</e>
        <e type="operand">49</e>
        <e type="operand">9</e>
        <e type="operand">1</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">mat</e>
      </result>
    </math>
  </region>
  <region id="36" left="405" top="1701" width="348" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z1</e>
        <e type="operand">z1</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
      </input>
      <result action="numeric">
        <e type="operand">1</e>
        <e type="operand">9</e>
        <e type="operand">25</e>
        <e type="operand">64</e>
        <e type="operand">81</e>
        <e type="operand">16</e>
        <e type="operand">1</e>
        <e type="operand">6</e>
        <e type="function" args="8">mat</e>
      </result>
    </math>
  </region>
  <region id="37" left="45" top="1773" width="332" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z1</e>
        <e type="operand">z1</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">plus</e>
        <e type="function" args="3">map</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">6</e>
        <e type="operand">10</e>
        <e type="operand">16</e>
        <e type="operand">18</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="operand">6</e>
        <e type="function" args="8">mat</e>
      </result>
    </math>
  </region>
  <region id="38" left="396" top="1773" width="246" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">z2</e>
        <e type="operand">z2</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">plus</e>
        <e type="function" args="3">map</e>
      </input>
      <result action="numeric">
        <e type="operand">8</e>
        <e type="operand">4</e>
        <e type="operand">14</e>
        <e type="operand">6</e>
        <e type="operand">2</e>
        <e type="operand">5</e>
        <e type="operand">1</e>
        <e type="function" args="7">mat</e>
      </result>
    </math>
  </region>
  <region id="39" left="18" top="1890" width="616" height="56" border="true" color="#000000" bgColor="#f9fed8" fontSize="10">
    <text lang="eng">
      <p>Function InterX(L1; L2)Input: L1; L2 : 2-rows matrices of coords (Row1 = x-coord; Row2 = y-coord)Output: 2-rows matricx of coords of intersecting points</p>
    </text>
  </region>
  <region id="40" left="18" top="1953" width="617" height="612" color="#000000" bgColor="#ffffff" fontSize="9">
    <math optimize="2">
      <input>
        <e type="operand">L1</e>
        <e type="operand">L2</e>
        <e type="function" args="2">InterX</e>
        <e type="operand">x1</e>
        <e type="operand">L1</e>
        <e type="operand">1</e>
        <e type="function" args="2">row</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">x2</e>
        <e type="operand">L2</e>
        <e type="operand">1</e>
        <e type="function" args="2">row</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y1</e>
        <e type="operand">L1</e>
        <e type="operand">2</e>
        <e type="function" args="2">row</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">y2</e>
        <e type="operand">L2</e>
        <e type="operand">2</e>
        <e type="function" args="2">row</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" args="6">mat</e>
        <e type="operand">dx1</e>
        <e type="operand">x1</e>
        <e type="function" args="1">mdiff</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dy1</e>
        <e type="operand">y1</e>
        <e type="function" args="1">mdiff</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dx2</e>
        <e type="operand">x2</e>
        <e type="function" args="1">mdiff</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dy2</e>
        <e type="operand">y2</e>
        <e type="function" args="1">mdiff</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="function" args="6">mat</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">dx1</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="operator" args="2">:</e>
        <e type="operand">S1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">dx1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">y1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">*</e>
        <e type="operand">dy1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">x1</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="operand">k</e>
        <e type="operand">1</e>
        <e type="operand">dx2</e>
        <e type="function" args="1">length</e>
        <e type="function" args="2">range</e>
        <e type="operator" args="2">:</e>
        <e type="operand">S2</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">dx2</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">y2</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">*</e>
        <e type="operand">dy2</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operand">x2</e>
        <e type="operand">k</e>
        <e type="function" args="2">el</e>
        <e type="operator" args="2">*</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="2">t</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
        <e type="operator" args="2">:</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="operand">c</e>
        <e type="operand">d</e>
        <e type="function" args="4">T</e>
        <e type="operand">a</e>
        <e type="operand">b</e>
        <e type="function" args="2">t</e>
        <e type="operand">c</e>
        <e type="operand">d</e>
        <e type="function" args="2">t</e>
        <e type="operator" args="2">-</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">D</e>
        <e type="operand">r</e>
        <e type="operand">x</e>
        <e type="function" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">c</e>
        <e type="operand">x</e>
        <e type="function" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">X</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">r</e>
        <e type="operand">1</e>
        <e type="operand">c</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="function" args="5">submatrix</e>
        <e type="operand">y</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">minus</e>
        <e type="function" args="3">map</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Y</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">r</e>
        <e type="operand">2</e>
        <e type="operand">c</e>
        <e type="function" args="5">submatrix</e>
        <e type="operand">y</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">minus</e>
        <e type="function" args="3">map</e>
        <e type="operator" args="2">:</e>
        <e type="operand">X</e>
        <e type="operand">Y</e>
        <e type="function" args="2">t</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" args="6">line</e>
        <e type="operator" args="2">:</e>
        <e type="operand">C1</e>
        <e type="operand">dx1</e>
        <e type="operand">y2</e>
        <e type="operand">dy1</e>
        <e type="operand">x2</e>
        <e type="function" args="4">T</e>
        <e type="operand">S1</e>
        <e type="function" args="2">D</e>
        <e type="operator" args="2">:</e>
        <e type="operand">C2</e>
        <e type="operand">y1</e>
        <e type="operand">dx2</e>
        <e type="operand">x1</e>
        <e type="operand">dy2</e>
        <e type="function" args="4">T</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">S2</e>
        <e type="function" args="2">D</e>
        <e type="operator" args="2">:</e>
        <e type="operand">C1</e>
        <e type="operand">C1</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≤</e>
        <e type="function" args="1">vectorize</e>
        <e type="operator" args="2">:</e>
        <e type="operand">C2</e>
        <e type="operand">C2</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≤</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="function" args="4">mat</e>
        <e type="operand">m</e>
        <e type="operand">n</e>
        <e type="operand">vals</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operand">C1</e>
        <e type="operand">C2</e>
        <e type="operator" args="2">&amp;</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">mwfind</e>
        <e type="function" args="1">transpose</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">m</e>
        <e type="operand">m</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dx2</e>
        <e type="operand">dx2</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dy2</e>
        <e type="operand">dy2</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operand">L</e>
        <e type="operand">dy2</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="operand">dx1</e>
        <e type="operand">m</e>
        <e type="function" args="2">el</e>
        <e type="operand">dy1</e>
        <e type="operand">m</e>
        <e type="function" args="2">el</e>
        <e type="operand">dx2</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="function" args="4">T</e>
        <e type="operator" args="2">:</e>
        <e type="operand">Lo</e>
        <e type="operand">L</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≠</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="1">mwfind</e>
        <e type="operand">1</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">m</e>
        <e type="operand">m</e>
        <e type="operand">Lo</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">n</e>
        <e type="operand">n</e>
        <e type="operand">Lo</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">L</e>
        <e type="operand">L</e>
        <e type="operand">Lo</e>
        <e type="function" args="2">el</e>
        <e type="function" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="function" args="5">mat</e>
        <e type="operand">P1</e>
        <e type="operand">dx2</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="operand">S1</e>
        <e type="operand">m</e>
        <e type="function" args="2">el</e>
        <e type="operand">dx1</e>
        <e type="operand">m</e>
        <e type="function" args="2">el</e>
        <e type="operand">S2</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="function" args="4">T</e>
        <e type="operator" args="2">:</e>
        <e type="operand">P2</e>
        <e type="operand">dy2</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="operand">S1</e>
        <e type="operand">m</e>
        <e type="function" args="2">el</e>
        <e type="operand">dy1</e>
        <e type="operand">m</e>
        <e type="function" args="2">el</e>
        <e type="operand">S2</e>
        <e type="operand">n</e>
        <e type="function" args="2">el</e>
        <e type="function" args="4">T</e>
        <e type="operator" args="2">:</e>
        <e type="operand">P1</e>
        <e type="operand">P2</e>
        <e type="function" args="2">augment</e>
        <e type="function" args="1">eval</e>
        <e type="operand">L</e>
        <e type="operand">L</e>
        <e type="function" args="2">augment</e>
        <e type="function" args="1">eval</e>
        <e type="operand">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">divide</e>
        <e type="function" args="3">map</e>
        <e type="function" args="1">eval</e>
        <e type="operand">8</e>
        <e type="operand">1</e>
        <e type="function" args="10">line</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" args="2">Zeros</e>
        <e type="function" args="2">try</e>
        <e type="operand">13</e>
        <e type="operand">1</e>
        <e type="function" args="15">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="41" left="783" top="2142" width="324" height="40" border="true" color="#000000" bgColor="#f9fed8" fontSize="10">
    <text lang="eng">
      <p>Function D(x; y)Helper function for InterX. See below.</p>
    </text>
  </region>
  <region id="42" left="774" top="2538" width="99" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">to</e>
        <e type="operand">0</e>
        <e type="function" args="1">time</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="43" left="9" top="2574" width="306" height="24" border="true" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Let's test it with a simple example:</p>
    </text>
  </region>
  <region id="44" left="9" top="2601" width="182" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">L1</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="operand">8</e>
        <e type="operand">9</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">2</e>
        <e type="operand">2</e>
        <e type="operand">0</e>
        <e type="operand">3</e>
        <e type="operand">0.5</e>
        <e type="operand">2</e>
        <e type="operand">8</e>
        <e type="function" args="18">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="45" left="252" top="2601" width="180" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">L2</e>
        <e type="operand">3</e>
        <e type="operand">4</e>
        <e type="operand">5</e>
        <e type="operand">6</e>
        <e type="operand">6</e>
        <e type="operand">5</e>
        <e type="operand">7</e>
        <e type="operand">9</e>
        <e type="operand">7</e>
        <e type="operand">0</e>
        <e type="operand">1</e>
        <e type="operand">3</e>
        <e type="operand">3</e>
        <e type="operand">2</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="operand">4</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="function" args="20">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="46" left="774" top="2601" width="301" height="135" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">tt</e>
        <e type="operand">L1</e>
        <e type="operand">L2</e>
        <e type="function" args="2">InterX</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">4.5</e>
        <e type="operand">2</e>
        <e type="operand">5.5</e>
        <e type="operand">1</e>
        <e type="operand">5.6667</e>
        <e type="operand">0.6667</e>
        <e type="operand">7.25</e>
        <e type="operand">1.875</e>
        <e type="operand">8.75</e>
        <e type="operand">1.125</e>
        <e type="operand">7.8333</e>
        <e type="operand">2.75</e>
        <e type="operand">8.5</e>
        <e type="operand">1.75</e>
        <e type="operand">7</e>
        <e type="operand">2</e>
        <e type="function" args="16">mat</e>
      </result>
    </math>
  </region>
  <region id="47" left="18" top="2664" width="368" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">plot1</e>
        <e type="operand">L1</e>
        <e type="operand">L2</e>
        <e type="function" args="2">InterX</e>
        <e type="operand" style="string">o</e>
        <e type="operand">12</e>
        <e type="operand" style="string">Green</e>
        <e type="function" args="4">plotG</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="48" left="18" top="2700" width="702" height="252" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="3.13631992578674" scale_y="3.13631992578674" scale_z="3.13631992578674" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-315" transpose_y="-109" transpose_z="0">
      <input>
        <e type="operand">L1</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">L2</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">plot1</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">sys</e>
      </input>
    </plot>
  </region>
  <region id="49" left="9" top="2979" width="258" height="24" border="true" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>and a bit more complicate one:</p>
    </text>
  </region>
  <region id="50" left="9" top="3006" width="174" height="52" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">t</e>
        <e type="operand">0</e>
        <e type="operand">2</e>
        <e type="operand">π</e>
        <e type="operator" args="2">*</e>
        <e type="bracket">(</e>
        <e type="operand">2</e>
        <e type="operand">π</e>
        <e type="operand">100</e>
        <e type="operator" args="2">/</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="3">range</e>
        <e type="function" args="1">transpose</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="51" left="252" top="3006" width="133" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">r1</e>
        <e type="operand">4</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">sin</e>
        <e type="function" args="1">vectorize</e>
        <e type="operand">2</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="52" left="477" top="3006" width="133" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">r2</e>
        <e type="operand">8</e>
        <e type="operand">t</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">sin</e>
        <e type="function" args="1">vectorize</e>
        <e type="operand">2</e>
        <e type="operator" args="2">+</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="53" left="9" top="3060" width="85" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">c</e>
        <e type="operand">t</e>
        <e type="function" args="1">cos</e>
        <e type="function" args="1">vectorize</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="54" left="135" top="3060" width="85" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">s</e>
        <e type="operand">t</e>
        <e type="function" args="1">sin</e>
        <e type="function" args="1">vectorize</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="55" left="252" top="3060" width="191" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">xy1</e>
        <e type="operand">r1</e>
        <e type="operand">c</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">vectorize</e>
        <e type="operand">r1</e>
        <e type="operand">s</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="56" left="477" top="3060" width="191" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">xy2</e>
        <e type="operand">r2</e>
        <e type="operand">c</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">vectorize</e>
        <e type="operand">r2</e>
        <e type="operand">s</e>
        <e type="operator" args="2">*</e>
        <e type="function" args="1">vectorize</e>
        <e type="function" args="2">stack</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="57" left="9" top="3114" width="173" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">XY</e>
        <e type="operand">xy1</e>
        <e type="operand">xy2</e>
        <e type="function" args="2">InterX</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="58" left="360" top="3114" width="275" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">plot2</e>
        <e type="operand">XY</e>
        <e type="operand" style="string">o</e>
        <e type="operand">12</e>
        <e type="operand" style="string">Green</e>
        <e type="function" args="4">plotG</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="59" left="9" top="3150" width="715" height="319" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="3.74005008361004" scale_y="7.21541655725944" scale_z="7.93695821298538" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-6" transpose_y="5" transpose_z="0">
      <input>
        <e type="operand">xy1</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">xy2</e>
        <e type="function" args="1">transpose</e>
        <e type="operand">plot2</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" args="5">sys</e>
      </input>
    </plot>
  </region>
  <region id="60" left="783" top="3456" width="191" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">0</e>
        <e type="function" args="1">time</e>
        <e type="operand">to</e>
        <e type="operator" args="2">-</e>
      </input>
      <result action="numeric">
        <e type="operand">197.355</e>
        <e type="operand" style="unit">s</e>
        <e type="operator" args="2">*</e>
      </result>
    </math>
  </region>
  <region id="61" left="9" top="3501" width="591" height="56" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>In the hope that these brief notes could be of help to somebody, enjoy!Marco</p>
    </text>
  </region>
  <region id="62" left="27" top="3564" width="339" height="88" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Great! It works!So we have Smath performing like Scilab!Well, almost... The timing of Smath on my hardware says:</p>
    </text>
  </region>
  <region id="63" left="45" top="3654" width="315" height="75" color="#000000" bgColor="#ffffff">
    <picture readOnly="false">
      <raw format="png" encoding="base64">iVBOR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+e4f2567EpuPvnz/K+3vv4c1r/2Th+xMbj5Krrb0Z0/C7sq2pA3t4K5O4t5191+cWVyC+q5PtzCsuQVbDPrRQZeSVIzy1Gak4Rl5K1F8kZe7AzvYDblpKDhJ1Z2JKUgU3b0xCTkIL1sTsQsTER32xg63N9PMLXxmH5N2xdrozBkvAoLFqxDguWr2Vz9A0+WLIK7y/6Cu9+TOuFrZF5y/HWB2wd/B+b//c+xRvvsvmcsxivzl6IV2ctxMtvL0DoWx/hpT/Px/QZYXjxf+fxr+98/CX+Mn8Frr3l3uHz8RD5dwf/htsedEDHOLt2wSReS8SOPWw2gWNrRKevF7Ymac0Y68YXbG356g7DJB9p55vjPI3/BzuOVptD8lieAAAAAElFTkSuQmCC</raw>
    </picture>
  </region>
  <region id="64" left="45" top="3735" width="323" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Whilst, on same hardware, Scilab says:</p>
    </text>
  </region>
  <region id="65" left="117" top="3762" width="147" height="90" color="#000000" bgColor="#ffffff">
    <picture readOnly="false">
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAIsAAABSCAYAAABkKCcYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAQOSURBVHhe7Z3dcaMwFEZpi4YoZF/2zbPNrItJCXnJTwMsFxDWL3xATGBzzgyTAEbIukdXOCK4ent7a9/f31v3018+Pj7az8/P9vX1tf31+0+y3y22D/5/kAVkkAVkkAVkkAVkkAVkfqQs96Zq69vLuPZ93Oq6Darxcmvr+jaunI8TyXJvm2p/EG9105V0Ae5NWzVpTU3kzOZTcLrMcqurtqqiHqdgvbKTrYoWv+FfbvW0PZDSHdv1dBO2qjrhLJju9/FlyTmiLDDUfSj7ca68vPbarBQnzi7nHIam4K1vNCWzWCCTDDaesw9gL8pQjr3WBTUeNnoh4jo6ydz2bj2VwrJoqZ62b0NnOYAvlGUYRqZeNy2uUZb2p7jeu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" width="298" height="56" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>and this is expressed in seconds...But anyway Smath is a great tool!!</p>
    </text>
  </region>
</regions>