Initial tests seem to suggest that supporting N-dimensional arrays should 
be pretty easy in terms of the API itself. We could also provide fast-paths 
for 1D and 2D arrays.

Of course, actual support for N-dimensional arrays would depend on the 
underlying implementation. 

On Monday, 7 January 2013 13:22:38 UTC+8, James Sofra wrote:
>
> +1 on Konrad's comment about N-dimensional arrays for me.
>
> I think the issue of using immutable arrays (which can be important for 
> performance) in Clojure is interesting to think about.
> I have had some ideas about how to use arrays with restricted or limited 
> mutability but haven't solidified anything yet.
>
> On Saturday, January 5, 2013 10:11:59 PM UTC+11, Konrad Hinsen wrote:
>>
>> Mikera writes: 
>>
>>  > I think this could be very useful for the Clojure community, 
>> especially given the 
>>  > interest in big data, simulations, machine learning, 3D graphics etc. 
>> If it goes well 
>>  > and there is enough interest, I guess that this could form the basis 
>> for a future 
>>  > "core.matrix" library. 
>>  > 
>>  > Comments / ideas / patches welcome. 
>>
>> I haven't looked at your library yet, but my immediate comment is that 
>> I'd much prefer to have an API for N-dimensional arrays rather than 
>> just for matrices (2d) and vectors (1d). 
>>
>> 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

Reply via email to