public static double[] pageRank(MatrixInterface preparedMatrix,int maxIteration){
  double[] init=new double[preparedMatrix.getRowsCount()];
  for (int i=0; i != init.length; i++)   init[i]=1.0;
  return pageRank(preparedMatrix,maxIteration,DEFAULT_D,init);
}

public static double [ ] pageRank ( MatrixInterface preparedMatrix , int maxIteration ) { double [ ] init = new double [ preparedMatrix . getRowsCount ( ) ] ; for ( int i = 0 ; i != init . length ; i ++ ) init [ i ] = 1.0 ; return pageRank ( preparedMatrix , maxIteration , DEFAULT_D , init ) ; }
call preparematrix or preparesparsematrix first
