.rows(), temp.columns());
int numVertices = stationaryDistribution.size();
for (int i = 0; i < numVertices; i++)
stationaryMatrixDiagonal.set(i, i, 1.0 / stationaryDistribution
.get(i));
DoubleMatrix2D meanFirstPassageMatrix = algebra.mult(temp,
stationaryMatrixDiagonal);
return meanFirstPassageMatrix;
}
}