core-matrix

intended for specific discussion around core.matrix (usage and development) For general data work check out #data-science
jsa-aerial 2017-04-07T18:38:43.005561Z

In attempting to come up with core.matrix indexing idioms analogous (or equivalent) to various examples from something like numpy, I came across

index
,
index-seq
and company. But I can't seem to find how these are supposed to be used -
select
and company do not seem to use them, nor do
slice
,
submatrix
, etc. Any information on this? Thanks in advance.

jsa-aerial 2017-04-07T18:53:17.225750Z

Another question, with vector 'index args', why does select not perform typical integer indexing? For example, with (def a (m/matrix [[1,2], [3, 4], [5, 6]])) why doesn't (select a [0 1 2] [0 1 0]) return [1.0,4.0,5.0] instead of [[1.0,2.0,1.0],[3.0,4.0,3.0],[5.0,6.0,5.0]]. I don't really understand the point behind the latter.