I've tried a few other versions, all without success. What versions are you using?
On Wednesday, July 10, 2013 5:40:41 PM UTC-7, Mikera wrote: > > Hmmm it seems to work for me: > > (+ 5 (matrix [1 2 3])) > => #<Vector3 [6.0,7.0,8.0]> > > What environment and what versions of vectorz-clj / Clojure are you using? > Some of the older versions didn't support scalar to vector broadcasting so > that might be the problem.... > > On Thursday, 11 July 2013 00:44:46 UTC+1, Brian Craft wrote: >> >> Without vectorz: >> >> => (+ 5 (matrix [1 2 3])) >> [6 7 8] >> >> With vectorz: >> >> => (+ 5 (matrix [1 2 3])) >> ClassCastException java.lang.Double cannot be cast to >> mikera.arrayz.INDArray mikera.vectorz.matrix-api/eval12140/fn--12145 >> (matrix_api.clj:644) >> >> >> >> -- -- 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/groups/opt_out.