Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit dc5848b

Browse files
committed
test mat col matrix multiply
1 parent f5f23d8 commit dc5848b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/compiler.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,10 @@ y = [4 5; 6 7; 8 9]
256256
z = x ** y
257257
#test = stats/sum(row: z)", Value::F32(F32::new(86.0)));
258258

259+
test_mech!(math_matrix_multiply_mat_col,"
260+
x = [1 2 3; 4 5 6; 7 8 9] ** [1;2;3]
261+
#test = stats/sum(column: x)", Value::F32(F32::new(96.0)));
262+
259263
test_mech!(math_matrix_transpose_row,"
260264
x = [1 2 3]
261265
#test = x ** x'", Value::F32(F32::new(14.0)));

0 commit comments

Comments
 (0)