Thanks Matteo Fortini for your quick reply. I will explore the numpy.dot().
On Tue, Jan 12, 2016 at 11:21 PM, Matteo Fortini <[email protected]> wrote: > I think your best option would be to use numerical python, it has > everything you need to use linear algebra. Look into numpy.dot() > > http://www.numpy.org/ > > > > > Il 12/01/2016 17:02, Pranay Vasani ha scritto: > > I have a bipartite graph and i want to compute the square of the adjacency > matrix. > How to do it in igraph-python? > I am analyzing IMDb data set where i have information about actor and > movie. > I want to find out which actors acted in a movie and which movies have > common actors. > One option that i explored was bipartite_projection but i still want to > find the path of length 2 by doing matrix multiplication i.e. square of > adjacency matrix. > > I am new to igraph-python so your patience and help is appreciated. > > Thanks > Pranay > > > _______________________________________________ > igraph-help mailing > [email protected]https://lists.nongnu.org/mailman/listinfo/igraph-help > > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > >
_______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
