GraphUtilities`
GraphUtilities`
PageRankVector
As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »
PageRankVector[g]
returns the page rank of the graph g.
Details and Options
- PageRankVector functionality is now available in the built-in Wolfram Language function PageRankCentrality.
- To use PageRankVector, you first need to load the Graph Utilities Package using Needs["GraphUtilities`"].
- The following options can be given:
-
Tolerance Automatic the tolerance that should be allowed in computing results TeleportProbability 0.15 the probability that an internet user may choose to visit a vertex at random instead of choosing an outlink RemoveSinks True whether sinks (a sink is a vertex with no outer links) are removed by linking with all vertices - PageRankVector calculates the page rank of nodes in a directed graph and returns them as a vector. The ordering of the vector is the same as that of VertexList.
Examples
Basic Examples (2)Summary of the most common use cases
This shows a small network of web pages:
In[1]:=1

✖
https://wolfram.com/xid/0d5mo52qnucre-85q5q
In[2]:=2

✖
https://wolfram.com/xid/0d5mo52qnucre-c1u
In[3]:=3

✖
https://wolfram.com/xid/0d5mo52qnucre-hofs4u
Out[3]=3

This calculates the page ranks:
In[4]:=4

✖
https://wolfram.com/xid/0d5mo52qnucre-oygpq7
Out[4]=4

PageRankVector has been superseded by PageRankCentrality:
In[1]:=1

✖
https://wolfram.com/xid/0d5mo52qnucre-qs9cop
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0d5mo52qnucre-s1us5t
Out[2]=2

Wolfram Research (2007), PageRankVector, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html.
✖
Wolfram Research (2007), PageRankVector, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html.
Text
Wolfram Research (2007), PageRankVector, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html.
✖
Wolfram Research (2007), PageRankVector, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html.
CMS
Wolfram Language. 2007. "PageRankVector." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html.
✖
Wolfram Language. 2007. "PageRankVector." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html.
APA
Wolfram Language. (2007). PageRankVector. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html
✖
Wolfram Language. (2007). PageRankVector. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html
BibTeX
✖
@misc{reference.wolfram_2025_pagerankvector, author="Wolfram Research", title="{PageRankVector}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html}", note=[Accessed: 05-June-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_pagerankvector, organization={Wolfram Research}, title={PageRankVector}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/PageRankVector.html}, note=[Accessed: 05-June-2025
]}