title: Computing PageRank using formula by iterating through adjacency matrix
body: <p>I have created an adjacency matrix in excel spreadsheet, and now I need to calculate the page rank of each page by using teleportation constant T=0.15 and using the following formula:</p>
  
  <pre><code>PR(W)=T/N+(1-T)(PR(W1)/O(W1)+PR(W2)/O(W2)+...PR(Wn)/O(WN))
  </code></pre>
  
  <p>I believe the pseudo-code to perform this action should be something like this:</p>
  
  <pre><code>x=formula
  for i in range(len(matrix):
   if i=1, then i==x
     else
      return 0
  print(i?)
  </code></pre>
  
  <p>I know it is far from being perfect, and I am still trying to work this through.</p>
  
  <p>I also suppose that I need firstly declare create a separate program code for the formula itself and declare its variables.</p>
  
  <p>Would this be a a satisfying solution to implement this idea with Python or R? Or there is a better method of calculating page rank?</p>
  
  <p>I came across various possible solution in the web, but they weren't very helpful in relation with my particular case.</p>