title: Multiplying complex numbers by scalars, ex (2-6i)*3
body: <p>Lets say we have the following constructor..</p>
  
  <pre><code> complex(int,x,int,y){
   r = x;
   i = y;
   }
  </code></pre>
  
  <p>If I was to take 3*complex(1,2) is that essentially the same thing as multiplying</p>
  
  <pre><code>complex(1,2)*complex(3,0)?
  </code></pre>
  
  <p>I'm trying to calculate a julia set here, and am very new to complex numbers. Thanks for any help!</p>