Fork me on GitHub
#core-matrix
<
2018-07-31
>
puzzler21:07:28

I'm trying out core.matrix :vectorz simply as a way to store a 2d data matrix of primitive data. (I tried creating and accessing a 2d array of doubles using Clojure's make-array, aset, aget and it made my program 30x slower than just using a vector of vectors!). So I'm hoping that using core.matrix will make it easier to get fast performance for accessing doubles. However, perusing the core.matrix API, I don't see a way to extract individual elements from the matrix. What is the correct way to look something up at index [i,j] in a 2d matrix?

puzzler21:07:49

Also, where are concepts like "broadcasting" documented?

puzzler21:07:27

Ah, found mget