[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Help!!!how to get the laplacian of a huge graph with more t
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] Help!!!how to get the laplacian of a huge graph with more than 10000 nodes? |
Date: |
Thu, 23 Oct 2008 19:37:27 +0200 |
Do it "by hand":
L <- Diagonal(vcount(g), degree(g)) - get.adjacency(g, sparse=TRUE))
Gabor
ps. don't forget to handle loop/multiple edges if you might have any.
On Thu, Oct 23, 2008 at 7:00 PM, lan gao <address@hidden> wrote:
> I have a large graph with more than 100000 nodes.
> When I use graph.laplacian(g) , R says "can not locate a vecotor of size..."
> If I save the graph in a sparse matrix form, then is not the right graph
> object that "graph.laplacian" requires.
> What can I do?
> Anybody knows how to sovles this problem? I appreciate your help.
>
>
>
> Lani
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
--
Gabor Csardi <address@hidden> UNIL DGM