igraph-help
[Top][All Lists]
Advanced

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

[igraph] arpack - unkown ARPACK option(s): sym


From: Hermann Norpois
Subject: [igraph] arpack - unkown ARPACK option(s): sym
Date: Sun, 23 Feb 2014 13:19:11 +0100

Hello,
I tried the example of arpack{igraph} and I did not make it run with the option sym=TRUE


g <- erdos.renyi.game (1000, 5/1000)
M <- get.adjacency (g, sparse=TRUE)
f2 <- function (x, extra = NULL){cat ("."); as.vector (M %*% x)}
 baev <- arpack (f2, options=list (n=vcount (g), nev=3, ncv=8, sym = TRUE, which="LM", maxiter=200)) # like in the example
Fehler in arpack(f2, options = list(n = vcount(g), nev = 3, ncv = 8, sym = TRUE,  :
  unkown ARPACK option(s): sym

Without the option sym=TRUE it works but I get a complex vector:
 baev <- arpack (f2, options=list (n=vcount (g), nev=3, ncv=8, which="LM", maxiter=200))
.............................................................................................................................................................................................................>
 baev$vectors[,1][1:3]
[1] 0.04375092+0i 0.01087742+0i 0.01028816+0i

complex=FALSE does not work either:
 baev <- arpack (f2, options=list (n=vcount (g), nev=3, ncv=8, which="LM", maxiter=200, complex=FALSE))
Fehler in arpack(f2, options = list(n = vcount(g), nev = 3, ncv = 8, which = "LM",  :
  unkown ARPACK option(s): complexM <- get.adjacency (g, sparse=TRUE)



Can you please give me an hint.
Thanks
Hermann

reply via email to

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