Blog

Sign In:     


mathsRef.xml

Tue 17 Jul 18 @ 7:55 pm

<?xml version="1.0" encoding="UTF-8"?>
<page>
<pad1 name="set">set &apos;var1&apos; 5 &amp;&amp; set &apos;var2&apos; 4</pad1>
<pad7 name="multiply">param_multiply &quot;get_var &apos;var1&apos;&quot; &quot;get_var &apos;var2&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;</pad7>
<pad3 name="add">param_add &quot;get_var &apos;var1&apos;&quot; &quot;get_var &apos;var2&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;</pad3>
<pad4 name="equal">get_var &apos;var1&apos; &amp; param_equal &quot;get_var &apos;var2&apos;&quot;</pad4>
<pad2 name="subtract">get_var &apos;var1&apos; &amp; param_invert &amp; set &apos;1-var1&apos; &amp; param_add &quot;get_var &apos;1-var1&apos;&quot; -1 &amp; param_cast &amp; set &apos;-var1&apos; &amp; param_add &quot;get_var &apos;-var1&apos;&quot; &quot;get_var &apos;var2&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;((1-var1) -1) + var2&quot; &quot;var2 - var1&quot;</pad2>
<pad6 name="divide">get_var &apos;var1&apos; &amp; param_1_x &amp; set &quot;var1/x&quot; &amp; param_multiply &quot;get_var &apos;var1/x&apos;&quot; &quot;get_var &apos;var2&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;(1/var1) * var2&quot; &quot;var2 / var1&quot;</pad6>
<pad5 name="compare">get_var &apos;var1&apos; &amp; param_bigger &quot;get_var &apos;var2&apos;&quot; ? on : off
&quot;is the first thing bigger than the second&quot;</pad5>
<pad8 name="compare way 2">param_bigger &quot;get_var &apos;var1&apos;&quot; &quot;get_var &apos;var2&apos;&quot; ? on : off
&quot;is the 2nd thing bigger than the first&quot;</pad8>
<param1 name="var1 = `get_var &apos;var1&apos;` var2 = `get_var &apos;var2&apos;`"> </param1>
<param2 name="var3 = `get_var &apos;var3&apos;`"> </param2>
<shift_pad4 name="V2 pow V1">param_pow &quot;get_var &apos;var1&apos;&quot; &quot;get_var &apos;var2&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;second thing to the power first thing&quot;</shift_pad4>
<shift_pad2 name="-X">get_var &apos;var1&apos; &amp; param_invert &amp; set &apos;1-var1&apos; &amp; param_add &quot;get_var &apos;1-var1&apos;&quot; -1 &amp; param_cast &amp; set &apos;var3&apos;</shift_pad2>
<shift_pad3 name="SQRT">param_pow 0.5 &quot;get_var &apos;var1&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;second thing to the power first thing&quot;</shift_pad3>
<shift_pad7 name="QuadRoot">param_pow 0.25 &quot;get_var &apos;var1&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;second thing to the power first thing&quot;</shift_pad7>
<shift_pad6 name="nerds">set &quot;var1&quot; -1 &amp; param_pow 0.5 &quot;get_var &apos;var1&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;second thing to the power first thing&quot;</shift_pad6>
<shift_pad8 name="CubeRoot">param_pow 0.33 &quot;get_var &apos;var1&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;
&quot;second thing to the power first thing&quot;</shift_pad8>
<shift_pad1 name="Exponent 1/x">get_var &apos;var2&apos; &amp; param_1_x &amp; set &quot;var3&quot;</shift_pad1>
<shift_pad5 name="X2">param_pow 2 &quot;get_var &apos;var1&apos;&quot; &amp; param_cast &amp; set &apos;var3&apos;</shift_pad5>
</page>