igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Help required - How to perform matrix multiplication in igr


From: Pranay Vasani
Subject: Re: [igraph] Help required - How to perform matrix multiplication in igraph-python
Date: Wed, 13 Jan 2016 17:08:36 +0530

Thanks a ton. After i replied to you i could figure this out.

On Wed, Jan 13, 2016 at 4:48 PM, Tamas Nepusz <address@hidden> wrote:
> bipartite_projection() also produced a matrix with values 0 and 1. May be i
> am missing something here.
Look at the "weight" edge attribute of the bipartite projection - it
should contain exactly the information that you need. Or, use
g.get_adjacency(attribute="weight") - but that one will return a dense
matrix so it won't work for large graphs.

T.

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

[Prev in Thread] Current Thread [Next in Thread]