Re: Feedback on new persistentmatrix datatype

2009-06-04 Thread aperotte
: > On May 27, 2009, at 1:03, aperotte wrote: > > > I think I understand your point now.  You would like the indexing to > > match the implicit dimension order of the nested structure. > > Right. > > > I was also concerned about storage order because I wanted to at

Is oracle going to make the jvm part proprietary?

2009-05-30 Thread aperotte
This slashdot story is kind of worrisome. http://tech.slashdot.org/story/09/05/29/1711203/Java-Gets-New-Garbage-Collector-But-Only-If-You-Buy-Support?from=rss Do you all think this is the beginning of a trend? --~--~-~--~~~---~--~~ You received this message becaus

Re: Feedback on new persistentmatrix datatype

2009-05-26 Thread aperotte
Hi Konrad, I think I understand your point now. You would like the indexing to match the implicit dimension order of the nested structure. I was also concerned about storage order because I wanted to at some point integrate this datastructure with colt or parallel colt and the incanter library.

Re: Feedback on new persistentmatrix datatype

2009-05-26 Thread aperotte
should return an item from the "last" or right-most dimension. -Adler On May 26, 12:31 am, Konrad Hinsen wrote: > On 26.05.2009, at 00:31, aperotte wrote: > > > I don't expect to yield the same results.  I would expect (.index m > > (int-array [0 1])) and (->

Re: Feedback on new persistentmatrix datatype

2009-05-25 Thread aperotte
Oh ok, I think I see where the problem is. There's a mistake/bug in how I rerepresent the nested array. I represent that array as a 2x3 internally, when it should actually be a 3x2. Which is why I was thinking the printing was (and still is) backwards. However, these two statements: >

Re: Feedback on new persistentmatrix datatype

2009-05-25 Thread aperotte
Oh ok, I think I see where the problem is. There's a mistake/bug in how I rerepresent the nested array. I represent that array as a 2x3 internally, when it should actually be a 3x2. Which is why I was thinking the printing was (and still is) backwards. However, these two statements: >

Re: Feedback on new persistentmatrix datatype

2009-05-25 Thread aperotte
Hi Konrad, In writing these functions, I was trying to blend the worlds of lispy data structure building and more familiar matrix indexing. I wanted to be able to treat matrices like elements of a list that could be consed/conjed together to build up data abstractions. This is necessary to keep

Re: Feedback on new persistentmatrix datatype

2009-05-21 Thread aperotte
> 1) What is the role of the first argument to PersistentMatrix/create?   > It seems that anything else than (int-array [1]) leads to an error. Though I can't say I've thoroughly tested this, the intended functionality is that you provide a nested structure and you specify the shape of the units

Re: Feedback on new persistentmatrix datatype

2009-05-19 Thread aperotte
Great! I'm glad you got it working. I'll have to look into compiling it with an earlier version of java. I'm actually not using ant for this project just yet. I'm compiling with javac. I agree, it's unfortunate that matrix carries the connotation of 2D. PersistentNDArray, PersistentDataCube,

Re: Feedback on new persistentmatrix datatype

2009-05-18 Thread aperotte
Thanks for the information Konrad. I haven't had a chance to take a close look at monads, but you've bumped it much higher on my list of things to look at. I was going to attempt to implement the data structure in clojure initially, but I wanted to make it as close a cousin to the other data str

Re: Feedback on new persistentmatrix datatype

2009-05-16 Thread aperotte
hough, that could be a problem. The question is whether that sacrifice is worth the cleanliness of immutability. -Adler On May 15, 12:33 pm, Anand Patil wrote: > On Sat, May 9, 2009 at 7:09 PM, aperotte wrote: > > > It shouldn't be a problem to maintain immutability and al

Re: Feedback on new persistentmatrix datatype

2009-05-09 Thread aperotte
des a > basic implementation of set relational algebra. May be useful for this > work? > > See clojure.org data structures and the source for clojure/set.clj in > the clojure source. > > Rgds, Adrian. > > On Wed, May 6, 2009 at 7:05 PM, Anand Patil > > wrote: > &

Re: Feedback on new persistentmatrix datatype

2009-05-09 Thread aperotte
dn't be a problem to maintain immutability and also perform a cross/cartesian product. I'm not sure I understand the problem. -Adler On May 6, 1:05 pm, Anand Patil wrote: > On Sat, May 2, 2009 at 11:19 PM, aperotte wrote: > > > Hello everyone, > > > I just uploaded

Re: Feedback on new persistentmatrix datatype

2009-05-05 Thread aperotte
ation with an existing library like [Parallel] Colt, MTJ, JMatrices, SST, or UJMP. -Adler On May 5, 9:23 am, Konrad Hinsen wrote: > On May 3, 2009, at 0:19, aperotte wrote: > > > I just uploaded some of my work on a new datatype for clojure to a git > > repository. > >

Feedback on new persistentmatrix datatype

2009-05-02 Thread aperotte
Hello everyone, I just uploaded some of my work on a new datatype for clojure to a git repository. http://github.com/aperotte/persistentmatrix A bit of the rationale and motivation for the datatype is described on the github page. I basically wanted to create a datastructure for manipulating

Re: Waterfront - The Clojure-based editor for Clojure

2009-03-04 Thread aperotte
/ waterfront/ide/main.clj" "$@" -Adler On Mar 4, 1:14 am, Michael Wood wrote: > On Tue, Mar 3, 2009 at 9:14 PM, aperotte wrote: > > > Hi, > > > I'm using linux (Ubuntu) and none of the above scripts worked for me. > > I added the ${DP}/bin dire

Re: Waterfront - The Clojure-based editor for Clojure

2009-03-04 Thread aperotte
CLASSPATH:${DP}/clj:${DP}/java:${DP}/bin" - Dnet.sourceforge.waterfront.plugins="${DP}/clj/net/sourceforge/ waterfront/ide/plugins" clojure.main "${DP}/clj/net/sourceforge/ waterfront/ide/main.clj" "$@" -Adler On Mar 4, 1:14 am, Michael Wood wrote: > On Tue

Re: Waterfront - The Clojure-based editor for Clojure

2009-03-03 Thread aperotte
Hi, I'm using linux (Ubuntu) and none of the above scripts worked for me. I added the ${DP}/bin directory to the classpath list to get it to work. #!/bin/sh DP="${0%/*}" java -cp ~/src/clojure/clojure.jar:${DP}/clj:${DP}/java - Dnet.sourceforge.waterfront.plugins=${DP}/clj/net/sourceforge/ water