Thanks.   BTW, you may want to consider targeting ejml instead of colt if you 
are targeting dense matrix operations.   ejml does quite a bit better 
performance-wise.   Colt does support more matrix types though.

On Mar 9, 2010, at 3:00 AM, Konrad Hinsen wrote:

> On 8 Mar 2010, at 19:22, Jonathan Shore wrote:
> 
>> For the sake of understanding, I'm not yet clear on how one *efficiently* 
>> binds multiple "pieces" of state together in clojure.   How would one create 
>> a simple matrix for example where I want to bind dimension and a float-array 
>> into a tightly bound structure.   I can see that a assoc / map could be used 
>> (but has undesireable overhead) or perhaps a closure with the array, 
>> dimensions, and a returning function for access?
> 
> http://code.google.com/p/clj-multiarray/
> 
> This is work in progress, it's certainly not ready for production use. But it 
> does show how the problem can be attacked, using the new deftype mechanism in 
> the current development branch of Clojure.
> 
> In Clojure 1.0 and 1.1, I don't see a way to package data together with fast 
> access times. I guess that's why deftype is being added to 1.2.
> 
> Konrad.
> 
> -- 
> 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

-- 
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

Reply via email to