On 1/27/12 9:11 AM, Walter van der Laan wrote:
Are you somehow required to use the Java library?
Otherwise you could also use a Clojure map as a sparse matrix.
This will be much easier to implement.
Using a clojure map to store a sparse matrix is not a good solution if
you plan on doing any serious computation on it. Reason being is that
clojure's collections don't yet support primitive types (with the
exception of vector, but most operations on it will result in boxing).
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en