﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.98.6179.21440"?>
<regions>
  <settings>
    <identity>
      <id>8756e0b0-4786-49cc-b282-8d7a293f7675</id>
      <revision>66</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" 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.98.6179.21440" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.98.6179.21440" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="Picture Region" version="1.10.6179.21444" guid="06b5df04-393e-4be7-9107-305196fcb861" />
      <assembly name="Special Functions" version="1.11.6179.21442" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="Text Region" version="1.10.6179.21446" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
      <assembly name="Plot Region" version="1.9.6179.21450" guid="c451c2b5-798b-4f08-b9ec-b90963d1ddaa" />
    </dependencies>
  </settings>
  <region id="0" left="0" top="0" width="741" height="152" 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-intersectionsI made a translation for Scilab and (tried to) translate for Smath. To simplify the task,I have written some helper functions that might be useful for other tasks, so I provide them here to the community.</p>
    </text>
  </region>
  <region id="1" left="9" top="162" width="733" height="120" border="true" color="#000000" bgColor="#ffff80" 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.The first line could appear a bit weird, but it is the quickest way I found to mantainthe original nature of the input vector. Another possible implementation is given below.</p>
    </text>
  </region>
  <region id="2" left="18" top="288" width="495" height="95" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="1">rows</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" 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" preserve="true" args="1">cols</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" 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" preserve="true" 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" preserve="true" args="1">length</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">R</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" 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" preserve="true" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">R</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="3" left="531" top="360" width="86" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Examples:</p>
    </text>
  </region>
  <region id="4" left="594" top="369" width="61" height="99" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="7">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="5" left="9" top="378" width="268" height="163" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">V</e>
        <e type="function" args="1">mdiff2</e>
        <e type="operand">lR</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" args="1">length</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">lR</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">R</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">lR</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">R</e>
        <e type="operand">1</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">V</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operator" args="2">+</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">-</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">R</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="6" left="432" top="387" width="141" height="27" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="8">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="7" left="387" top="414" width="197" 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" preserve="true" args="7">mat</e>
      </result>
    </math>
  </region>
  <region id="8" left="576" top="459" width="133" 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" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="9" left="0" top="558" width="811" height="104" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <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="10" left="9" top="666" width="133" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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="11" left="153" top="666" width="135" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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="12" left="297" top="666" width="141" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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="13" left="450" top="666" width="132" height="41" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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="14" left="9" top="693" width="475" height="609" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">xv</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yh</e>
        <e type="operand">y</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yv</e>
        <e type="operand">y</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operator" args="2">:</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="bracket">(</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="bracket">(</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">xx</e>
        <e type="operand">x</e>
        <e type="operator" args="2">:</e>
        <e type="operand">yy</e>
        <e type="operand">y</e>
        <e type="operator" args="2">:</e>
        <e type="operand">xh</e>
        <e type="operand">yh</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">ii</e>
        <e type="operand">2</e>
        <e type="operand">yh</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">xx</e>
        <e type="operand">xx</e>
        <e type="operand">x</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">xh</e>
        <e type="operand">yh</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">ii</e>
        <e type="operand">2</e>
        <e type="operand">xh</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">yy</e>
        <e type="operand">yy</e>
        <e type="operand">y</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">1</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">xv</e>
        <e type="operand">yv</e>
        <e type="operator" args="2">&lt;</e>
        <e type="operand">ii</e>
        <e type="operand">2</e>
        <e type="operand">yv</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">xx</e>
        <e type="operand">xx</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">xv</e>
        <e type="operand">yv</e>
        <e type="operator" args="2">&gt;</e>
        <e type="operand">ii</e>
        <e type="operand">2</e>
        <e type="operand">xv</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">yy</e>
        <e type="operand">yy</e>
        <e type="operand">y</e>
        <e type="function" preserve="true" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">ii</e>
        <e type="operand">1</e>
        <e type="operand">xv</e>
        <e type="operand">yv</e>
        <e type="function" preserve="true" args="2">Max</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">jj</e>
        <e type="operand">1</e>
        <e type="operand">xh</e>
        <e type="operand">yh</e>
        <e type="function" preserve="true" args="2">Max</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">zz</e>
        <e type="operand">ii</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">xx</e>
        <e type="operand">ii</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="operand">yy</e>
        <e type="operand">ii</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="3">el</e>
        <e type="function" args="2">fun</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>
        <e type="operand">zz</e>
        <e type="operand">6</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="8">line</e>
        <e type="operand" style="string">Incompatible sizes</e>
        <e type="function" preserve="true" args="1">error</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">7</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="9">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="15" left="396" top="1278" width="361" 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" preserve="true" args="32">mat</e>
      </result>
    </math>
  </region>
  <region id="16" left="504" top="1278" width="86" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Examples:</p>
    </text>
  </region>
  <region id="17" left="0" top="1386" width="746" height="72" border="true" color="#000000" bgColor="#ffff80" 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="18" left="9" top="1467" width="375" height="250" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">V</e>
        <e type="operand">cond</e>
        <e type="function" args="2">index</e>
        <e type="operand">R</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="function" preserve="true" args="2">matrix</e>
        <e type="operator" args="2">:</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operator" args="2">:</e>
        <e type="operand">i</e>
        <e type="operand">1</e>
        <e type="operand">V</e>
        <e type="function" preserve="true" args="1">length</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">cond</e>
        <e type="function" preserve="true" args="1">vectorize</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">R</e>
        <e type="operand">j</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">V</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">:</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">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="4">line</e>
        <e type="operand">continue</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">R</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operator" args="2">&gt;</e>
        <e type="bracket">(</e>
        <e type="operand">R</e>
        <e type="operand">1</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">submatrix</e>
        <e type="operand">R</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">1</e>
        <e type="operand">j</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" args="5">submatrix</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="19" left="468" top="1629" width="86" height="24" color="#000000" bgColor="#80ff80" fontSize="10">
    <text lang="eng">
      <p>Examples:</p>
    </text>
  </region>
  <region id="20" left="468" top="1656" width="209" 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" preserve="true" args="5">mat</e>
      </result>
    </math>
  </region>
  <region id="21" left="468" top="1683" width="230" 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" preserve="true" args="6">mat</e>
      </result>
    </math>
  </region>
  <region id="22" left="9" top="1764" width="331" height="56" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <text lang="eng">
      <p>Function plotG(x; y; char; size; color)Thanks to Omorr!! :-)</p>
    </text>
  </region>
  <region id="23" left="9" top="1818" width="729" height="121" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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">n</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">length</e>
        <e type="operator" args="2">:</e>
        <e type="operand">plot</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">y</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" preserve="true" args="5">augment</e>
        <e type="operator" args="2">:</e>
        <e type="operand">i</e>
        <e type="operand">2</e>
        <e type="operand">n</e>
        <e type="function" preserve="true" 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" preserve="true" args="2">el</e>
        <e type="operand">y</e>
        <e type="operand">i</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">char</e>
        <e type="operand">size</e>
        <e type="operand">color</e>
        <e type="function" preserve="true" args="5">augment</e>
        <e type="function" preserve="true" args="2">stack</e>
        <e type="operator" args="2">:</e>
        <e type="function" preserve="true" args="3">for</e>
        <e type="operand">plot</e>
        <e type="operand">4</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="6">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="24" left="0" top="1962" width="569" height="88" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <text lang="eng">
      <p>Function D(x; y)Helper function for InterX. See below.Sorry for the long line, but I do like functional programming... :-)At the end this is simpler than an average lisp expression!!</p>
    </text>
  </region>
  <region id="25" left="0" top="2043" width="1138" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x</e>
        <e type="operand">y</e>
        <e type="function" args="2">D</e>
        <e type="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="operand">1</e>
        <e type="operator" args="2">-</e>
        <e type="function" preserve="true" 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="operand">x</e>
        <e type="operand">1</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">rows</e>
        <e type="operand">2</e>
        <e type="operand">x</e>
        <e type="function" preserve="true" args="1">cols</e>
        <e type="function" preserve="true" 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="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>
      </input>
    </math>
  </region>
  <region id="26" left="0" top="2160" width="753" height="2472" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <text lang="eng">
      <p>function P = InterX(L1,L2)//INTERX Intersection of curves//   P = INTERX(L1,L2) returns the intersection points of two curves L1 //   and L2. The curves L1,L2 can be either closed or open and are described//   by two-row-matrices, where each row contains its x- and y- coordinates.//   The intersection of groups of curves (e.g. contour lines, multiply //   connected regions etc) can also be computed by separating them with a//   column of NaNs as for example////         L  = [x11 x12 x13 ... NaN x21 x22 x23 ...;//               y11 y12 y13 ... NaN y21 y22 y23 ...]////   P has the same structure as L1 and L2, and its rows correspond to the//   x- and y- coordinates of the intersection points of L1 and L2. If no//   intersections are found, the returned P is empty.////   P = INTERX(L1) returns the self-intersection points of L1. To keep//   the code simple, the points at which the curve is tangent to itself are//   not included. P = INTERX(L1,L1) returns all the points of the curve //   together with any self-intersection points.//   //   Author : NS//   Version: 3.0, 21 Sept. 2010//   Modified for Scilab by Marco Bernacca 07 March 2017//   Two words about the algorithm: Most of the code is self-explanatory.//   The only trick lies in the calculation of C1 and C2. To be brief, this//   is essentially the two-dimensional analog of the condition that needs//   to be satisfied by a function F(x) that has a zero in the interval//   [a,b], namely//           F(a)*F(b) &lt;= 0//   C1 and C2 exactly do this for each segment of curves 1 and 2//   respectively. If this condition is satisfied simultaneously for two//   segments then we know that they will cross at some point. //   Each factor of the 'C' arrays is essentially a matrix containing //   the numerators of the signed distances between points of one curve//   and line segments of the other./*    //...Argument checks and assignment of L2    error(nargchk(1,2,nargin));    if nargin == 1,        L2 = L1;    hF = @lt;   //...Avoid the inclusion of common points    else        L2 = varargin{1}; hF = @le;    end    Note by MBernacca: this is not implemented in the Scilab version. L1 and L2 must    be both specified and sintax is P = InterX(L1, L2))*/    //...Preliminary stuff    x1  = L1(1,:)';  x2 = L2(1,:);    y1  = L1(2,:)';  y2 = L2(2,:);    dx1 = diff(x1); dy1 = diff(y1);    dx2 = diff(x2); dy2 = diff(y2);        //...Determine 'signed distances'       S1 = dx1.*y1(1:$-1) - dy1.*x1(1:$-1);    S2 = dx2.*y2(1:$-1) - dy2.*x2(1:$-1);   // Original Matlab statements//    C1 = feval(hF,D(bsxfun(@times,dx1,y2)-bsxfun(@times,dy1,x2),S1),0);//    C2 = feval(hF,D((bsxfun(@times,y1,dx2)-bsxfun(@times,x1,dy2))',S2'),0)';// Modified for Scilab    C1 = D(bsrfun(dx1,y2,times)-bsrfun(dy1,x2,times),S1) &lt;= 0;    C2 = (D((bsrfun(y1,dx2,times)-bsrfun(x1,dy2,times))',S2') &lt;= 0)';        //...Obtain the segments where an intersection is expected    [i,j] = find(C1 &amp; C2);     if isempty(i) then P = zeros(2,0);return; end;        //...Transpose and prepare for output    i=i'; dx2=dx2'; dy2=dy2'; S2 = S2';    L = dy2(j).*dx1(i) - dy1(i).*dx2(j);    i = i(L~=0); j=j(L~=0); L=L(L~=0);  //...Avoid divisions by 0        //...Solve system of eqs to get the common points    P = unique([dx2(j).*S1(i) - dx1(i).*S2(j), dy2(j).*S1(i) - dy1(i).*S2(j)]./[L L],'r')';endfunction              /*    function u = D(x,y)        u = bsxfun(@minus,x(:,1:end-1),y).*bsxfun(@minus,x(:,2:end),y);    end     Note by MBer: Matlab function u = bsxfun(fun, a, b) substituted by    function u = bsrfun(a, b, fun) written to support "compatible sizes"    feature not available in Scilab *///==========================================================// Below functions written by Marco Bernacca 07 March 2017//==========================================================function u = D(a, b)    u = bsrfun(a(:, 1:$-1), b, minus) .* bsrfun(a(:, 2:$), b, minus);endfunction//_____________________________________________________________________________// Function:     Apply a function to a set of elements// Developer:    Marco Bernacca// Origination:  2017-03-02// Edited:       2017-03-02//_____________________________________________________________________________function u = bsrfun(a, b, fun)    [chk, ra, rb, ms] = chkarg(a,b);    // Replicates Matlab's "Compatible sizes" feature    if chk then        a = repmat(a, ra);        b = repmat(b, rb);        u = fun(a, b);    else        disp ("bsrfun: Incompatible sizes of arguments.")        abort    endendfunction//==========================================================function [c,ra,rb,d] = chkarg(a,b)    // Helper function to support Matlab's "Compatible sizes" feature     aa = size(a); bb = size(b);    na = ndims(a); nb = ndims(b);    if na &gt; nb then        bb = [bb, ones(na-nb)];    elseif na &lt; nb then        aa = [aa, ones(nb-na)];    end    cc = min(aa,bb)(aa&lt;&gt;bb);    c = and(cc == [] || cc == 1);    d = max(aa,bb);    ra = ones(1, length(d));    rb = ones(1, length(d));    ra(aa==1) = d(aa==1);    rb(bb==1) = d(bb==1);endfunction//==========================================================function u = plus(a, b)    u = a + b;endfunction//==========================================================function u = minus(a, b)    u = a - b;endfunction//==========================================================function u = times(a, b)    u = a .* b;endfunction//==========================================================function u = divide(a, b)    u = a ./ b;endfunction//==========================================================// Scilab users: just copy/paste this entire text region to a Scilab console.//   Example:timer();   t = linspace(0,2*%pi);   r1 = sin(4*t)+2;  x1 = r1.*cos(t); y1 = r1.*sin(t);   r2 = sin(8*t)+2;  x2 = r2.*cos(t); y2 = r2.*sin(t);   P = InterX([x1;y1],[x2;y2]);   plot(x1,y1,x2,y2,P(1,:),P(2,:),'ro')timer()//End of File_____________________________________________________________________________</p>
    </text>
  </region>
  <region id="27" left="45" top="4653" width="184" height="24" color="#000000" bgColor="#ffffff" fontSize="10">
    <text lang="eng">
      <p>Scilab graphic output</p>
    </text>
  </region>
  <region id="28" left="9" top="4671" width="533" height="419" border="true" color="#000000" bgColor="#80ffff">
    <picture readOnly="false">
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAg0AAAGbCAYAAABHz6NXAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAADCLSURBVHhe7d3PaxXZvvdxeXxCEowYDw7Sl4MIl2BCB4Q2OMooEyfHWXMHjXAcOBX6T3iGXvpfcOggICISOCIO7CNimr4D6ZGD4OAB8UzOoJ0cEclZN99KrU5lpWrvVbt+rLW+6/2C1V07W7Nr/frWx9pbc8YAAAB4IDQAAAAvhAYAAOCF0AAAALwQGgAAgBdCAwAA8EJoAAAAXggNAADAC6EBAAB4ITQAAAAvhAYAAOCF0AAAALwQGgAAgBdCAwAA8EJoAAAAXggNAADAC6EBAAB4ITQAAAAvhAYAAOCF0AAAALwQGgAAgBdCAwAA8EJoAAAAXgYNDb/99pu5fv26mZubM99++635+eefy2cAAEBqBg0NEhQeP35cHL969cpcunSpOAYAAOkZ5e2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
    </picture>
  </region>
  <region id="29" left="27" top="5184" width="657" height="104" border="true" color="#000000" bgColor="#ffff80" fontSize="10">
    <text lang="eng">
      <p>Now let's try to do the same thing in Smath.Some plugins are required and in particular:- Matlab C++ Math LibraryAttention: to my knowledge,this plugin only works with 32 bit version of Smath.I am using 0.98 build 6484 dated 02 Oct 2017.</p>
    </text>
  </region>
  <region id="30" left="9" top="5373" width="616" height="56" border="true" color="#000000" bgColor="#ffff80" 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="31" left="0" top="5445" width="746" height="786" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="2">row</e>
        <e type="function" preserve="true" 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" preserve="true" 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" preserve="true" args="2">row</e>
        <e type="function" preserve="true" 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" preserve="true" args="2">row</e>
        <e type="operator" args="2">:</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">ii</e>
        <e type="operand">1</e>
        <e type="operand">dx1</e>
        <e type="function" preserve="true" args="1">length</e>
        <e type="function" preserve="true" args="2">range</e>
        <e type="operand">S1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">dx1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">y1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">*</e>
        <e type="operand">dy1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">x1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" 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">S2</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">dx2</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">y2</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operator" args="2">*</e>
        <e type="operand">dy2</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">x2</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" 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">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">S2</e>
        <e type="operand">S2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="function" preserve="true" args="1">eval</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">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
        <e type="operand">dy1</e>
        <e type="operand">x2</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">S1</e>
        <e type="function" args="2">D</e>
        <e type="operand">0</e>
        <e type="function" preserve="true" args="2">mwle</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">A</e>
        <e type="operand">B</e>
        <e type="function" args="2">times</e>
        <e type="function" args="3">map</e>
        <e type="operand">x1</e>
        <e type="operand">dy2</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="bracket">(</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">S2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="function" args="2">D</e>
        <e type="operand">0</e>
        <e type="function" preserve="true" args="2">mwle</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ff</e>
        <e type="operand">C1</e>
        <e type="operand">C2</e>
        <e type="function" preserve="true" args="2">mwand</e>
        <e type="function" preserve="true" args="1">mwfind</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ii</e>
        <e type="operand">ff</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">jj</e>
        <e type="operand">ff</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="function" preserve="true" args="1">eval</e>
        <e type="operator" args="2">:</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="1">length</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≡</e>
        <e type="operand">2</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">Zeros</e>
        <e type="operand">ii</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dx2</e>
        <e type="operand">dx2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">dy2</e>
        <e type="operand">dy2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">S2</e>
        <e type="operand">S2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operator" args="2">:</e>
        <e type="operand">L</e>
        <e type="operand">dy2</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">dx1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</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="operand">dy1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">dx2</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="2">el</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="operator" args="2">:</e>
        <e type="operand">ii</e>
        <e type="operand">ii</e>
        <e type="operand">L</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≠</e>
        <e type="function" args="2">index</e>
        <e type="operator" args="2">:</e>
        <e type="operand">jj</e>
        <e type="operand">jj</e>
        <e type="operand">L</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≠</e>
        <e type="function" args="2">index</e>
        <e type="operator" args="2">:</e>
        <e type="operand">L</e>
        <e type="operand">L</e>
        <e type="operand">L</e>
        <e type="operand">0</e>
        <e type="operator" args="2">≠</e>
        <e type="function" args="2">index</e>
        <e type="operator" args="2">:</e>
        <e type="operand">PP1</e>
        <e type="operand">dx2</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">S1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</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="operand">dx1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">S2</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="2">el</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="operator" args="2">:</e>
        <e type="operand">PP2</e>
        <e type="operand">dy2</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">S1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</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="operand">dy1</e>
        <e type="operand">ii</e>
        <e type="function" preserve="true" args="2">el</e>
        <e type="operand">S2</e>
        <e type="operand">jj</e>
        <e type="function" preserve="true" args="2">el</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="operator" args="2">:</e>
        <e type="operand">PP</e>
        <e type="operand">PP1</e>
        <e type="operand">PP2</e>
        <e type="function" preserve="true" args="2">augment</e>
        <e type="operand">L</e>
        <e type="operand">L</e>
        <e type="function" preserve="true" args="2">augment</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="operator" args="2">:</e>
        <e type="operand">PP</e>
        <e type="operand">12</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="14">line</e>
        <e type="function" preserve="true" args="3">if</e>
        <e type="operand">16</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="18">line</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="32" left="18" top="6228" 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="33" left="18" top="6255" width="190" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="18">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="34" left="207" top="6255" width="173" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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">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">2</e>
        <e type="operand">8</e>
        <e type="function" preserve="true" args="18">mat</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="35" left="234" top="6282" width="293" height="99" 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">5</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="12">mat</e>
      </result>
    </math>
  </region>
  <region id="36" left="18" top="6381" width="438" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">plot1</e>
        <e type="operand">tt</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">col</e>
        <e type="operand">tt</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="2">col</e>
        <e type="operand" style="string">o</e>
        <e type="operand">12</e>
        <e type="operand" style="string">Green</e>
        <e type="function" args="5">plotG</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="37" left="36" top="6426" width="678" height="222" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="2.87999993185192" scale_y="2.87999993185192" scale_z="2.87999993185192" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="-301" transpose_y="-80" transpose_z="0">
      <input>
        <e type="operand">L1</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">L2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">plot1</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">sys</e>
      </input>
    </plot>
  </region>
  <region id="38" left="18" top="6660" 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="39" left="27" top="6687" width="156" height="41" 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" preserve="true" args="3">range</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="40" left="207" top="6687" width="124" 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" preserve="true" args="1">sin</e>
        <e type="function" preserve="true" 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="41" left="369" top="6687" width="124" height="32" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <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" preserve="true" args="1">sin</e>
        <e type="function" preserve="true" 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="42" left="27" top="6723" width="258" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">x1</e>
        <e type="operand">r1</e>
        <e type="operand">t</e>
        <e type="function" preserve="true" args="1">cos</e>
        <e type="function" preserve="true" args="1">vectorize</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>
      </input>
    </math>
  </region>
  <region id="43" left="315" top="6723" width="258" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math optimize="2">
      <input>
        <e type="operand">y1</e>
        <e type="operand">r1</e>
        <e type="operand">t</e>
        <e type="function" preserve="true" args="1">sin</e>
        <e type="function" preserve="true" args="1">vectorize</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>
      </input>
    </math>
  </region>
  <region id="44" left="27" top="6759" width="258" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">x2</e>
        <e type="operand">r2</e>
        <e type="operand">t</e>
        <e type="function" preserve="true" args="1">cos</e>
        <e type="function" preserve="true" args="1">vectorize</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>
      </input>
    </math>
  </region>
  <region id="45" left="315" top="6759" width="258" height="34" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">y2</e>
        <e type="operand">r2</e>
        <e type="operand">t</e>
        <e type="function" preserve="true" args="1">sin</e>
        <e type="function" preserve="true" args="1">vectorize</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>
      </input>
    </math>
  </region>
  <region id="46" left="18" top="6795" width="694" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math matrixOptions="0,0,9,2">
      <input>
        <e type="operand">arg1</e>
        <e type="operand">x1</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">y1</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="function" preserve="true" args="2">stack</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">2.2443</e>
        <e type="operand">2.4622</e>
        <e type="operand">2.637</e>
        <e type="operand">2.755</e>
        <e type="operand">2.8066</e>
        <e type="operand">2.7875</e>
        <e type="operand">2.6985</e>
        <e type="operand">2.5455</e>
        <e type="operand">0</e>
        <e type="operand">0.1412</e>
        <e type="operand">0.311</e>
        <e type="operand">0.503</e>
        <e type="operand">0.7074</e>
        <e type="operand">0.9119</e>
        <e type="operand">1.1036</e>
        <e type="operand">1.2698</e>
        <e type="operand">1.3994</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="function" preserve="true" args="20">mat</e>
      </result>
    </math>
  </region>
  <region id="47" left="18" top="6840" width="702" height="45" color="#000000" bgColor="#ffffff" fontSize="10">
    <math matrixOptions="0,0,9,2">
      <input>
        <e type="operand">arg2</e>
        <e type="operand">x2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">y2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="function" preserve="true" args="2">stack</e>
        <e type="operator" args="2">:</e>
      </input>
      <result action="numeric">
        <e type="operand">2</e>
        <e type="operand">2.4769</e>
        <e type="operand">2.8219</e>
        <e type="operand">2.9449</e>
        <e type="operand">2.8136</e>
        <e type="operand">2.4611</e>
        <e type="operand">1.9761</e>
        <e type="operand">1.4766</e>
        <e type="operand">1.0774</e>
        <e type="operand">0</e>
        <e type="operand">0.1558</e>
        <e type="operand">0.3565</e>
        <e type="operand">0.5618</e>
        <e type="operand">0.7224</e>
        <e type="operand">0.7997</e>
        <e type="operand">0.7824</e>
        <e type="operand">0.6948</e>
        <e type="operand">0.5923</e>
        <e type="operand">2</e>
        <e type="operand">9</e>
        <e type="function" preserve="true" args="20">mat</e>
      </result>
    </math>
  </region>
  <region id="48" left="18" top="6885" width="186" height="26" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">aa</e>
        <e type="operand">arg1</e>
        <e type="operand">arg2</e>
        <e type="function" args="2">InterX</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="49" left="216" top="6903" width="438" height="28" color="#000000" bgColor="#ffffff" fontSize="10">
    <math>
      <input>
        <e type="operand">plot2</e>
        <e type="operand">aa</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="2">col</e>
        <e type="operand">aa</e>
        <e type="operand">2</e>
        <e type="function" preserve="true" args="2">col</e>
        <e type="operand" style="string">o</e>
        <e type="operand">12</e>
        <e type="operand" style="string">Green</e>
        <e type="function" args="5">plotG</e>
        <e type="operator" args="2">:</e>
      </input>
    </math>
  </region>
  <region id="50" left="27" top="6930" width="378" height="319" color="#000000" bgColor="#ffffff" fontSize="10" showInputData="False">
    <plot type="2d" render="lines" scale_x="6.72749994932561" scale_y="6.72749994932561" scale_z="6.72749994932561" rotate_x="0" rotate_y="0" rotate_z="0" transpose_x="0" transpose_y="0" transpose_z="0">
      <input>
        <e type="operand">arg1</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">arg2</e>
        <e type="function" preserve="true" args="1">transpose</e>
        <e type="operand">plot2</e>
        <e type="operand">3</e>
        <e type="operand">1</e>
        <e type="function" preserve="true" args="5">sys</e>
      </input>
    </plot>
  </region>
  <region id="51" left="405" top="6948" 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="52" left="423" top="7038" width="315" height="75" color="#000000" bgColor="#ffffff">
    <picture readOnly="false">
      <raw format="png" encoding="base64">iVBORw0KGgoAAAANSUhEUgAAATMAAABDCAYAAADwDeIrAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABPGSURBVHhe7d15dBVVngfw91eP+9JO2zoqrT2OWx/PcQvdrd1tT/eZOeOcGRVpxrYdG8bGtDrazkgr0LgMShABUWhQoyAESEggkARIIITsKyEL2fedJCRkIWyyf+f+br2qd6tSdd/Ley8QyH3nfE7qVdX91b2/e98vVUk4uOqbO1DT0IqKmkaUlFcjf28pdqfnYOPmBDz3UiiGzp5D81mYHGL7Xv/LHKxZswavvPIKurq60N1zKGAqjpyKI6fiyF3qcVQxk1Bx5FQcORVHLthxVDGTUHHkVBw5FUcu2HFUMZNQceRUHDkVRy7YcVQxk1Bx5FQcORVHLthxVDGTUHHkVBw5FUcu2HFUMZNQceRUHDkVRy7YcVQxk1Bx5FQcORVHLthxVDGTUHHkVBw5FUcu2HFUMZNQceRUHDkVRy7YcVQxk1Bx5FQcORVHLthxglbMFEVRLiR1Zyah4sip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ZqGsphk9fYfQN3B4xA4ODHG9/UM8Buk+OIju3kF09Q6A/tOd/Qf60E7r1L1G9fXZzNZmI1ub+pqsa6b11MHxtcTWTWU9WytsfZTXsvVQ3YxSpqTKPedsbosq2LyW1XN79tVxBaV1yC+tRW5xDXZkFOHNOR/hdy/NYLmMHpm/RuODgG0YmeVyH3I2feXMa4bWiiiMY+tGXz9Ef2+lH/fB/BHi7SzXc0Vs2gndquhErNpAtuPryG3MVny1PgEr1mzmlq3axGzkPg3fgE+/0iz+IpL75Mso4+snX27AxyvWY+HnkVjE8G23+cvWcmFLIwxzl3xjeH/xSsO7C782zFkQbpg9/wtuZtjnhrc+XGGYMfevhjcF//P+UsMb731m+NO7n3Kvv7PE8NqcTwzi/nmfrcHcT1bixh8+gPt++byD3+G+xzX3Mvf84re4+2fP4q7HnsWdj07BnT+djB/+ZDJunzgJt4c8jR+QR57CBOa2h5+UmkAe8d8PQp7i17x94tO448eTWD+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="53" left="423" top="7119" 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="54" left="495" top="7146" width="147" height="90" color="#000000" bgColor="#ffffff">
    <picture readOn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O71iqnzu+VPegfpnHiex9/3u4lCzhl0MND/ZZ9cSN6Hkuyde1mCxzBWaO9wO2VL9eBNsQPUrE0YvklW+vX1P+s7n0MGSNuaax7k3mK1vCaM7Kkp6vC1im9zuK9SvIEhPLErP2/e/lwrLMBypHVha/jKVhKMosFqzyM2Jm6jcry5AxSsPQg/Xvfy/XlGUM6tpetShLjMkRnWQQ5BHM7Bd4LtVPzCzxMDex8f3v5XKyDMGKgi5ijR80sDX6bIsv9d50v1Q/UZbN5T+Jy13gzqdmw6XxfI9vvFaO5bFPGn4Q+8DMyBQfr9WvoyCLnT8pz9sgl/8kriPLmHof1xPDksZyRpYO/6Pn0kffJDA2LLl98fFC/fpgx68JzuHqntknv//nceELXDgaZAEZZAEZZAEZZAEZZAEZZAEZZAEZZAEZZAEZZAEZZAEZZAEZZAGRtv0HWuXC+ou+J7sAAAAASUVORK5CYII=</raw>
    </picture>
  </region>
  <region id="55" left="423" top="7236" 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>
  <region id="56" left="18" top="7326" 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>
</regions>