Hi all.
I would like to know if there is any fastest way to sum the attribute "MyAttribute" of all nodes, other than that:
double sum = 0.0;
for (node = igraph_vcount(&Graph); node--;) {
sum += VAN(&Graph,"MyAttribute",node);
}
Many thanks,
Matheus Viana
Postdoctoral Research Employee
Developmental and Cell Biology
University of California Irvine