|
From: | Vincent Matossian |
Subject: | Re: [igraph] Laplacian Matrix |
Date: | Sun, 26 Nov 2006 21:18:50 -0500 |
Vincent,
thanks! Actually in the R interface there is a function called
graph.laplacian which returns the Laplacian matrix, but you're right that it
is not part of the C interface. Personally I would not put this in
igraph_get_adjacency, but would be happy with a separate igraph_laplacian
function. Probably this is only a matter of taste.... First could you check
whether your implementation and graph.laplacian give the same results (for a
couple of randomly generated graph) and if they do i'll add your code as
igraph_laplacian.
Thanks again,
Gabor
On Sun, Nov 26, 2006 at 08:44:42PM -0500, Vincent Matossian wrote:
>
> Hi,
>
> I modified my working 0.3 (from the tar gz now available online), such that
> get.adjacency can also return a Laplacian matrix. This is a trivial change
> (although I hope I didn't mess it up), and I am attaching the associated
> changes to this mail.
>
> In this process:
>
> conversion.c igraph.h conversion.R conversion.Rd
>
> had to be modified.
>
> This feature is relevant to me but I don't know if it is to others. Gabor you
> are more than welcome to include it if you deem it correct (: and relevant
>
> Cheers,
>
> Vincent
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
--
Csardi Gabor <address@hidden> MTA RMKI, ELTE TTK
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |