title: Defining and Multiplying matrices in numpy (python)
body: <p>I'm trying to use numpy and i couldn't figure out how to properly define a <code>n by n</code> matrix in numpy.
  I've used the <code>numpy.zeros(n,n)</code>... but I'm not really sure if it is ok.</p>
  
  <p>is it correct to use numpy like this?
  im trying to get <code>(matrix^T * vector) - vector</code>.</p>
  
  <pre><code>matrix = np.zeros((n,n))
  start =  [(1/float(n)) for _ in range(n)]
  vector = np.array(start)
  newvector = np.dot(np.transpose(matrix) , vector)
  ans=  np.subtract(newvector , vector)
  </code></pre>
  
  <p>I'm asking this because im getting the wrong results and im not sure where is my problem</p>