int i; int edge[N]; double x[M], y[M]; create_graph(edge1,edge2, N ); for (i = 0 ; i < N ; i++) y[edge2[i]] += x[ edge1[i] ]; |
Next: Optimization Methods
Up: Issues in Irregular Computations
Previous: Issues in Irregular Computations
Created by Katarzyna Zając