You have probably either hit a Clatrix bug or have some kind of version mismatch with core.matrix - could you file an issue with the exact version numbers you are using and code to reproduce: https://github.com/tel/clatrix/issues ?
Note that "*" in clojure.core.matrix.operators is for element-wise multiplication (multiply corresponding elements in an array), not inner-product (matrix multiplication). You want "mmul" or "inner-product" for traditional style matrix multiplication. On Sunday, 4 January 2015 19:12:43 UTC+8, Byan Jati wrote: > > I have 2 matrix, matrix A = [[1 2 3][4 5 6]] and matrix B = [[10 20][20 > 30][30 40]], 2 x 3 and 3 x 2 matrix. > > The problem is, when i use core.matrix.operator to Multiply those matrix, > i got these result : > > (M/* A B) > > [[10 60 120] [120 100 240]] > > which the true result is [[140 200] [320 470]] > > and when using "mmul", the clatrix matrix resulting an error. do anyone > know how to perform multiplication using clatrix matrix? > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.