PDF Publication Title:
Text from PDF Page: 159
Program 9 – An optimized power method. 1 /* define macros for compensated summation */ 2 #define CSUM(x,y,t,z) { t=y[0]; z=(x)+y[1]; y[0]=t+z; y[1]=(t-y[0])+z; } 3 #define FCSUM(y) (y[0]+y[1]) 4 5 /** Compute a matrix vector product with a substochastic bvgraph structure 6* 7 * 8 * 9* g: the bvgraph; x: the right hand vector; y: the result vector (see above) alpha: the value of alpha (see above); sum_aPtx: the value e^T (alpha*P’*x); sum_dtx: the value d^T x 10 * 11 * 12 * 13 */ 14 int 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 } 33 34 /** 35 * mult(bvgraph *g, double *x, double *y, double alpha, double *sum_aPtx, double *sum_dtx) { using namespace std; bvgraph_iterator git; int *links; unsigned int i, d; bvgraph_nonzero_iterator(g, &git); /* omit error checking */ double id=0.0; double sumy[2]={0},t,z; double dtx[2]={0}; y = y + alpha*P’*x where P = D^{-1} A for the adjacency matrix A given by a bvgraph structure. for (; bvgraph_iterator_valid(&git); bvgraph_iterator_next(&git)) { bvgraph_iterator_outedges(&git, &links, &d); /* get outlinks */ if (d > 0) { id = 1.0/(double)d; } else { CSUM(x[git.curr],dtx,t,z); } for(i=0;iPDF Image | ALGORITHMS FOR PAGERANK SENSITIVITY DISSERTATION
PDF Search Title:
ALGORITHMS FOR PAGERANK SENSITIVITY DISSERTATIONOriginal File Name Searched:
gleich.pdfDIY PDF Search: Google It | Yahoo | Bing
Cruise Ship Reviews | Luxury Resort | Jet | Yacht | and Travel Tech More Info
Cruising Review Topics and Articles More Info
Software based on Filemaker for the travel industry More Info
The Burgenstock Resort: Reviews on CruisingReview website... More Info
Resort Reviews: World Class resorts... More Info
The Riffelalp Resort: Reviews on CruisingReview website... More Info
CONTACT TEL: 608-238-6001 Email: greg@cruisingreview.com (Standard Web Page)