code: public static double[] pagerank(Matrix A) {
          int n = A.nrows();
          double[] v = new double[n];
          Arrays.fill(v, 1.0 / n);
          return pagerank(A, v);
      }
docs: Calculate the page rank vector.
  @param A the matrix supporting matrix vector multiplication operation.
  @return the page rank vector.