You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the Clatrix has inconsistency in how it represent rows when executing seq/map/filter & other related operations. Clatrix uses the 1x2 matrices to represent rows, while other implementations (like, vectorz-clj) use the separate types to represent them. This lead to problem when trying to create matrix from the result of the map or filter - the dimensionality returns 3 instead of correct 2, like in other implementations, and this lead to exception when trying to construct matrix (in functions clatrix & construct-clatrix).
I have a small workaround for clatrix & construct-clatrix that checks if the every element is 1xN matrix, and the use the join to merge results together, but the correct solution will be the use of separate type (existing Vector type) to represent rows when calling seq.
The text was updated successfully, but these errors were encountered:
alexott
added a commit
to incanter/incanter
that referenced
this issue
Dec 28, 2014
Right now, the Clatrix has inconsistency in how it represent rows when executing
seq
/map
/filter
& other related operations. Clatrix uses the 1x2 matrices to represent rows, while other implementations (like, vectorz-clj) use the separate types to represent them. This lead to problem when trying to create matrix from the result of themap
orfilter
- thedimensionality
returns 3 instead of correct 2, like in other implementations, and this lead to exception when trying to construct matrix (in functionsclatrix
&construct-clatrix
).I have a small workaround for
clatrix
&construct-clatrix
that checks if the every element is 1xN matrix, and the use thejoin
to merge results together, but the correct solution will be the use of separate type (existingVector
type) to represent rows when callingseq
.The text was updated successfully, but these errors were encountered: