search for: 912457728i

Displaying 1 result from an estimated 1 matches for "912457728i".

1999 Apr 20
1
eigenvalue calculations
...prod(eigen(x, only = TRUE)$values) R> det2 <- function(x) prod(diag(qr(x)$qr))*(-1)^(ncol(x)-1) R> x1 <- array(runif(100*100), c(100,100)) R> x2 <- array(runif(200*200), c(200,200)) R> x3 <- array(runif(300*300), c(300,300)) R> system.time(print(det0(x1))) [1] -9.267e+24+912457728i [1] 1.36 0.00 2.00 0.00 0.00 R> system.time(print(det1(x1))) [1] -9.267e+24+1041334272i [1] 0.32 0.00 0.00 0.00 0.00 R> system.time(print(det2(x1))) [1] -9.267e+24 [1] 0.04 0.00 0.00 0.00 0.00 R> system.time(print(det0(x2))) [1] -9.4162e+79-1.458e+64i [1] 10.28 0.00 11.00 0.00 0.00 R&gt...