Skip to content

Commit c9f4f04

Browse files
committed
add bigger matrices
1 parent b7235de commit c9f4f04

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

src/test/scripts/functions/codegen/cellwisetmpl29.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ colProds <- function(X) {
2929

3030
X = matrix(3, 10, 10)
3131
# X = matrix(seq(9, 100*100+8), 100, 100, byrow=TRUE);
32-
# F = matrix(3, 10, 10)
32+
# F = matrix(0.1, 10, 10)
3333
# X = matrix(seq(from = 1, to = 10, by = 2), 10, 20)
3434
# X = matrix(1.3109348721, 10, 10)
3535

src/test/scripts/functions/codegen/cellwisetmpl29.dml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
X = matrix(3, 10, 10)
2323
#X = matrix(seq(9, 100*100+8), 100, 100);
24-
#F = matrix(3, 10, 10)
24+
#F = matrix(0.1, 10, 10)
2525
#X = matrix(seq(2, 10*20+1), 10, 20)
2626
#X = matrix(1.3109348721, 10, 10)
2727

src/test/scripts/functions/codegen/cellwisetmpl31.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ rowProds <- function(X) {
2929

3030
X = matrix(3, 10, 10)
3131
# X = matrix(seq(9, 100*100+8), 100, 100, byrow=TRUE);
32+
# F = matrix(0.1, 10, 10)
3233

3334
R = rowProds(2*log(X));
35+
# R = rowProds(X*min(F))
3436

3537
writeMM(as(R,"CsparseMatrix"), paste(args[2], "S", sep=""));

src/test/scripts/functions/codegen/cellwisetmpl31.dml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121

2222
X = matrix(3, 10, 10)
2323
#X = matrix(seq(9, 100*100+8), 100, 100);
24+
#F = matrix(0.1, 10, 10)
2425

2526
while(FALSE){}
2627

2728
R = rowProds(2*log(X))
29+
#R = rowProds(X*min(F))
2830

2931
write(R, $1)

0 commit comments

Comments
 (0)