title: Python Numpy - Complex Numbers - Is there a function for Polar to Rectangular conversion?
body: <p>Is there a built-in Numpy function to convert a complex number in polar form, a magnitude and an angle (degrees) to one in real and imaginary components?</p>
  
  <p>Clearly I could write my own but it seems like the type of thing for which there is an optimised version included in some module?</p>
  
  <p>More specifically, I have an array of magnitudes and an array of angles:</p>
  
  <pre><code>&gt;&gt;&gt; a
  array([1, 1, 1, 1, 1])
  &gt;&gt;&gt; b
  array([120, 121, 120, 120, 121])
  </code></pre>
  
  <p>And what I would like is:</p>
  
  <pre><code>&gt;&gt;&gt; c
  [(-0.5+0.8660254038j),(-0.515038074+0.8571673007j),(-0.5+0.8660254038j),(-0.5+0.8660254038j),(-0.515038074+0.8571673007j)]
  </code></pre>