title: Pseudo inverse matrix calculation
body: <p>I try to repeat the example of calculation of pseudo inverse matrix from <a href="https://www.cse.unr.edu/~bebis/MathMethods/SVD/lecture.pdf" rel="nofollow noreferrer">lectures</a>:</p>
  
  <p><a href="https://i.stack.imgur.com/gRGZ2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gRGZ2.png" alt="enter image description here"></a></p>
  
  <p>I use this code</p>
  
  <pre><code>from numpy import *
  # https://classes.soe.ucsc.edu/cmps290c/Spring04/paps/lls.pdf
  x = np.array([[-11, 2],[2, 3],[2, -1]]) 
  print(x)
  # computing the inverse using pinv
  a = linalg.pinv(x)
  print(a)
  </code></pre>
  
  <p>My result of the calculation differs from the result in the lecture.</p>
  
  <p>My result:</p>
  
  <pre><code>[[-0.07962213  0.05533063  0.00674764]
   [ 0.04048583  0.2854251  -0.06275304]]
  </code></pre>
  
  <p>The result form lecture:</p>
  
  <pre><code>[[-0.148  0.180  0.246]
   [ 0.164  0.189 -0.107]]
  </code></pre>
  
  <p>What am I doing wrong? Tell me please!</p>