On 16.11.2015 00:21, Yannis Haralambous wrote: > I tried to include the code of the adjacency method into my program but it > doens’t find libgraph_tool_spectral > > I don’t understand the __future__, .., etc. imports, how can I simply add > libgraph_tool_spectral to my code so that I can calculate the adjacency > matrix?
I don't get what you are trying to accomplish. If you call the function adjacency(g), it will return you the adjacency matrix of graph g. Isn't that what you want? Why do you want to copy and past the function's implementation? Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
