title: Multiplication of 1d arrays in numpy
body: <p>I have two 1d vectors(they can also be 2d matrices in some circumstances).
  I found the dot function for dot product but if i want to multiply a.dot(b) with these shapes:</p>
  
  <pre><code>a = [1,0.2,...]
  a.shape = (10,)
  b = [2.3,4,...]
  b.shape = (21,)
  a.dot(b) and I get ValueError: matrices not aligned.
  </code></pre>
  
  <p>and i want to do</p>
  
  <pre><code>c = a.dot(b)
  c.shape = (10,21)
  </code></pre>
  
  <p>Any ideas how to do it? I tried also transpose function but it doesn't work.</p>