disable NaN checks before BLAS calls deig.R (shorten matrix def)
authorAndrew <16061801+brada4@users.noreply.github.com>
Wed, 16 Jan 2019 09:41:46 +0000 (11:41 +0200)
committerAndrew <16061801+brada4@users.noreply.github.com>
Wed, 16 Jan 2019 09:41:46 +0000 (11:41 +0200)
benchmark/scripts/R/deig.R

index 3271647..c6d541d 100755 (executable)
@@ -33,7 +33,7 @@ cat(sprintf("      SIZE             Flops                   Time\n"))
 
 n <- nfrom
 while (n <= nto) {
-  A <- matrix(rnorm(n * n), ncol = n, nrow = n)
+  A <- matrix(rnorm(n * n), nrow = n)
   ev <- 0
   z <- system.time(for (l in 1:loops) {
     ev <- eigen(A)