Closed usametov closed 1 year ago
Indeed!
> (tech.v3.datatype.functional/dot-product [1 2 3] [4 5 6])
32.0
Also, without the lib (in Clojure):
> (reduce + (map * [1 2 3] [4 5 6]))
32
This, of course, behaves differently in terms of types and performance, but may also be useful in some cases.
Hi, you mentioned once in one of the releases that this lib has an implementation of dot-product for vectors and matrices. But I could not find it in documentation . Could you, please, add index for that? Sorry for bothering.