﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?application progid="SMath Studio Desktop" version="0.99.7202.1420"?>
<worksheet xmlns="http://smath.info/schemas/worksheet/1.0">
  <settings ppi="96">
    <identity>
      <id>acf56195-8fb1-4108-a2af-855fa45a83da</id>
      <revision>4</revision>
    </identity>
    <calculation>
      <precision>1</precision>
      <exponentialThreshold>7</exponentialThreshold>
      <trailingZeros>false</trailingZeros>
      <significantDigitsMode>false</significantDigitsMode>
      <roundingMode>0</roundingMode>
      <fractions>decimal</fractions>
    </calculation>
    <pageModel active="false" viewMode="2" printGrid="false" printAreas="true" simpleEqualsOnly="false" printBackgroundImages="true">
      <paper id="9" orientation="Portrait" width="827" height="1169" />
      <margins left="39" right="39" top="49" bottom="49" />
      <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.7202.1420" guid="a37cba83-b69c-4c71-9992-55ff666763bd" />
      <assembly name="Math Region" version="0.99.7202.1420" guid="02f1ab51-215b-466e-a74d-5d8b1cf85e8d" />
      <assembly name="SpecialFunctions" version="1.12.7202.1420" guid="2814e667-4e12-48b1-8d51-194e480eabc5" />
      <assembly name="TextRegion" version="1.11.7202.1420" guid="485d28c5-349a-48b6-93be-12a35a1c1e39" />
    </dependencies>
  </settings>
  <regions type="content">
    <region left="0" top="0" width="319" height="24" bgColor="#ceeeff" fontSize="10">
      <text lang="eng">
        <p>Element by element product of vectors:</p>
      </text>
    </region>
    <region left="27" top="36" width="69" height="63" fontSize="10">
      <math>
        <input>
          <e type="operand">x1</e>
          <e type="operand">1</e>
          <e type="operand">2</e>
          <e type="operand">3</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="117" top="36" width="69" height="63" fontSize="10">
      <math decimalPlaces="4" exponentialThreshold="5">
        <input>
          <e type="operand">x2</e>
          <e type="operand">5</e>
          <e type="operand">6</e>
          <e type="operand">7</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="0" top="117" width="183" height="24" bgColor="#ceeeff" fontSize="10">
      <text lang="eng">
        <p>1) vectorize function</p>
      </text>
    </region>
    <region left="198" top="117" width="423" height="24" bgColor="#ffff80" fontSize="10">
      <text lang="eng">
        <p>(1st element on 2nd row of "Matrices" palette) ---&gt;</p>
      </text>
    </region>
    <region left="36" top="153" width="138" height="63" fontSize="10">
      <math>
        <input>
          <e type="operand">p1</e>
          <e type="operand">x1</e>
          <e type="operand">x2</e>
          <e type="operator" args="2">*</e>
          <e type="function" args="1">vectorize</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">5</e>
          <e type="operand">12</e>
          <e type="operand">21</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="225" width="143" height="24" bgColor="#ceeeff" fontSize="10">
      <text lang="eng">
        <p>2) implicit loop</p>
      </text>
    </region>
    <region left="36" top="261" width="84" height="26" fontSize="10">
      <math>
        <input>
          <e type="operand">n</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="2">range</e>
          <e type="operator" args="2">:</e>
        </input>
      </math>
    </region>
    <region left="198" top="261" width="543" height="24" bgColor="#ffff80" fontSize="10">
      <text lang="eng">
        <p>range function (2nd element on 2nd row of "Matrices" palette) ---&gt;</p>
      </text>
    </region>
    <region left="36" top="288" width="177" height="63" fontSize="10">
      <math>
        <input>
          <e type="operand">p2</e>
          <e type="operand">n</e>
          <e type="function" args="2">el</e>
          <e type="operand">x1</e>
          <e type="operand">n</e>
          <e type="function" args="2">el</e>
          <e type="operand">x2</e>
          <e type="operand">n</e>
          <e type="function" args="2">el</e>
          <e type="operator" args="2">*</e>
          <e type="operator" args="2">:</e>
        </input>
        <result action="numeric">
          <e type="operand">5</e>
          <e type="operand">12</e>
          <e type="operand">21</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
    <region left="0" top="351" width="135" height="24" bgColor="#ceeeff" fontSize="10">
      <text lang="eng">
        <p>3) classic loop</p>
      </text>
    </region>
    <region left="36" top="387" width="142" height="51" fontSize="10">
      <math>
        <input>
          <e type="operand">j</e>
          <e type="operand">1</e>
          <e type="operand">3</e>
          <e type="function" args="2">range</e>
          <e type="operand">p3</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">x1</e>
          <e type="operand">j</e>
          <e type="function" args="2">el</e>
          <e type="operand">x2</e>
          <e type="operand">j</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>
        </input>
      </math>
    </region>
    <region left="36" top="441" width="75" height="63" fontSize="10">
      <math>
        <input>
          <e type="operand">p3</e>
        </input>
        <result action="numeric">
          <e type="operand">5</e>
          <e type="operand">12</e>
          <e type="operand">21</e>
          <e type="operand">3</e>
          <e type="operand">1</e>
          <e type="function" args="5">mat</e>
        </result>
      </math>
    </region>
  </regions>
</worksheet>