core.matrix
core.matrix copied to clipboard
Implement core.matrix support for 2D arrays of primitive doubles
We have 1D arrays of Java doubles supported:
https://github.com/mikera/matrix-api/blob/master/src/main/clojure/core/matrix/impl/double_array.clj
It would potentially be valuable to extend this support to 2D arrays of doubles along the same lines. This is useful for 2 main reasons:
- It would provide a fast. lightweight 2D mutable matrix implementation
- It may be helpful for interop with Java libraries that use this format
Possibly this isn't needed once we have :ndarray-double fully functional.