You can use vectorz-clj if you want fast double[] vector and matrix 
operations on the JVM.

https://github.com/mikera/vectorz-clj

It's basically a comprehensive wrapper over almost everything you might 
possibly want to do with Java double[] arrays, but wrapped up behind the 
core.matrix API so that you don't have to fiddle with primitive Java array 
access.

On Sunday, 21 July 2013 20:15:57 UTC+1, Alex Fowler wrote:
>
> Hmmm,  true about proxies.. as for hiphip - I did not use it yet, but I 
> thought that it may be useful for fast array operations, sorry confused the 
> posts :) I gonna try it sometime I think.. and I think that it has no 
> built-in matrix ops, but there was a library somewhere that did matrix ops..
>
> On Saturday, July 20, 2013 10:05:30 PM UTC+4, Brian Craft wrote:
>>
>> I've been looking at hiphip, though it's not clear to me how it's related 
>> to h2 user functions. ;)
>>
>> It wasn't immediately clear to me if hiphip handles multidimensional 
>> matix operations.
>>
>> On Saturday, July 20, 2013 9:32:50 AM UTC-7, Alex Fowler wrote:
>>>
>>> BTW, take a look 
>>> http://blog.getprismatic.com/blog/2013/7/10/introducing-hiphip-array-fast-and-flexible-numerical-computation-in-clojure
>>>
>>> суббота, 20 июля 2013 г., 17:42:36 UTC+4 пользователь Brian Craft 
>>> написал:
>>>>
>>>> I'm trying to write a user function for h2. I think that means I need 
>>>> gen-class, but I'm extremely fuzzy on how java class loading works. 
>>>> Perhaps 
>>>> my question is moot, because I just ran across this obscure note in a 
>>>> gen-class example:
>>>>
>>>> ;; declare only new methods, not superclass methods
>>>>
>>>> If I'm implementing an interface in h2, does that mean I shouldn't 
>>>> declare the methods? I also found a stackoverflow answer that 
>>>> suggested something like
>>>>
>>>> ["[Ljava.lang.Integer;"]
>>>>
>>>> which looks like black magic, and I can't find this in the docs 
>>>> anywhere.
>>>>
>>>> On Saturday, July 20, 2013 2:39:06 AM UTC-7, Alex Fowler wrote:
>>>>>
>>>>> Some questions to clarify things up:
>>>>>
>>>>> Do you mean - how do you create that type of value or how do you 
>>>>> generatte a method that accepts that very type?
>>>>>
>>>>> Are you sure you need to use gen-class and not proxy or reify?
>>>>>
>>>>> суббота, 20 июля 2013 г., 7:28:03 UTC+4 пользователь Brian Craft 
>>>>> написал:
>>>>>>
>>>>>> For implementing a method with this signature
>>>>>>
>>>>>> int getType(int[] inputTypes) 
>>>>>>
>>>>>> How would I declare inputTypes in gen-class?
>>>>>>
>>>>>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to