Watch this Author's files
: \ also, despite the notes in the top of pagerank.m, a flag == 0 denotes convergence, and flag==1 non-convergence.
Comments:
1. must recompile with mex on 64-bit machine 2. int * A_row, A_col I think needs to be mwIndex* A_row, A_col in spmatvec_transmult.c
Otherwise, you get a compile warning with mex and nonsensical, nonconverging answers.
[reproduction scenario: 64-bit machine, sparse matrix, options=power]
I suspect this change will be made in other mex compiled files too as they also had warnings.
Otherwise, so far so good.
Contact us at files@mathworks.com