[Jprogramming] ddsqlite error on win 7

2012-09-05 Thread Emir Ustamujic
Hi, The following code works perfectly on my Fedora system but on windows (7) it gives the below error.    load 'data/ddsqlite'    db =: '' conew 'jddsqlite' |domain error: cd |       sqlite3_initialize'' Any hints why this happens/how to resolve ? Thanks, Emir

[Jprogramming] Problem with single quote character in j701gtk

2012-09-05 Thread Arie van Wingerden
Hi, when I use j701gtk and enter a single quote the wrong character appears and J says 'spelling error'. When I do the same in j701con it works fine, so it doesn't seem to be a keyboard mapping problem. As far as I can see the character for U00B4 (accent aigu) is input in j701gtk when I actually

Re: [Jprogramming] Problem with single quote character in j701gtk

2012-09-05 Thread Joey K Tuttle
I just tried gtk on my Mac (for the first time I admit...) and it behaves as I expect i.e. ' is ' This is just a guess, but it looks like whatever shell you are running is being "helpful" and upon seeing a single quote is declaring it an opening quote and using the special character (which is

Re: [Jprogramming] Problem with single quote character in j701gtk

2012-09-05 Thread Arie van Wingerden
Hi, I think it has something to do with my situation, where I can switch between the Dutch and American International keyboard. The apostroph is used as a dead letter key in order to create letters with an accent aigu. When you need an apostroph itself, you can type a space after typing the apost

Re: [Jprogramming] ddsqlite error on win 7

2012-09-05 Thread Raul Miller
I do not know what's going wrong here, but you can get more information about errors: http://www.jsoftware.com/docs/help701/user/cd_domain_error.htm FYI, -- Raul On Wed, Sep 5, 2012 at 1:02 PM, Emir Ustamujic wrote: > Hi, > > The following code works perfectly on my Fedora system but on windo

Re: [Jprogramming] ddsqlite error on win 7

2012-09-05 Thread Eric Iverson
The cder'' result will likely indicate file not found, which means the sqlite biniaries aren't installed, or aren't installed where the code is looking. I think sqlite might be a standard part of some unix installs, but not in windows. Check the wiki etc for info on installing sqlite on windows. O

[Jprogramming] j701 Speed Test

2012-09-05 Thread Paul Jackson
Some time ago, you and Roger were talking about timings on %. 500 500 ?@$ 1000 I believe Roger said he had timings from the IPSA days. He also said the matix was considerably smaller. Did you ever get those early machine timings? Paul

Re: [Jprogramming] j701 Speed Test

2012-09-05 Thread Devon McCormick
At the J conference, Joey Tuttle showed some historical benchmarks on matrix inversion - I think he was looking at 50 50 matrixes, though. On Wed, Sep 5, 2012 at 3:44 PM, Paul Jackson wrote: > Some time ago, you and Roger were talking about timings on > %. 500 500 ?@$ 1000 > > I believe Roger

[Jprogramming] drop ith elements

2012-09-05 Thread pascha
I have a huge matrix (say n x m) and I want to drop the columns numbered with mutiple of 3 (i.e. 3th, 6th, 9th,..) how can I achieve that? -- View this message in context: http://old.nabble.com/drop-ith-elements-tp34389107s24193p34389107.html Sent from the J Programming mailing list archive at

Re: [Jprogramming] drop ith elements

2012-09-05 Thread Henry Rich
(#"1~ 1 1 0 $~ {:@$) i. 7 8 0 1 3 4 6 7 8 9 11 12 14 15 16 17 19 20 22 23 24 25 27 28 30 31 32 33 35 36 38 39 40 41 43 44 46 47 48 49 51 52 54 55 Henry Rich On 9/5/2012 5:33 PM, pascha wrote: I have a huge matrix (say n x m) and I want to drop the columns numbered with mutiple of 3

Re: [Jprogramming] drop ith elements

2012-09-05 Thread Roger Hui
(m$1 1 0)#"1 HugeMatrix On Wed, Sep 5, 2012 at 2:33 PM, pascha wrote: > > I have a huge matrix (say n x m) and I want to drop the columns numbered > with > mutiple of 3 (i.e. 3th, 6th, 9th,..) > how can I achieve that? > > -- > View this message in context: > http://old.nabble.com/drop-ith-ele

Re: [Jprogramming] j701 Speed Test

2012-09-05 Thread Joey K Tuttle
On 2012/09/05 12:52 , Devon McCormick wrote: At the J conference, Joey Tuttle showed some historical benchmarks on matrix inversion - I think he was looking at 50 50 matrixes, though. Below is the 666 box message I showed at the conference (the lines after ~~~ were added for the talk) I ha

Re: [Jprogramming] drop ith elements

2012-09-05 Thread pascha
Thanks alot.. perfect I would not be able to get that in years Henry Rich wrote: > > (#"1~ 1 1 0 $~ {:@$) i. 7 8 > 0 1 3 4 6 7 > 8 9 11 12 14 15 > 16 17 19 20 22 23 > 24 25 27 28 30 31 > 32 33 35 36 38 39 > 40 41 43 44 46 47 > 48 49 51 52 54 55 > > Henry Rich > > On 9/5/2012 5:

[Jprogramming] duplicate row of matrix

2012-09-05 Thread pascha
sorry for quick posts by me.. I am newbie in J I want to solve a linear system of equation and I want to get a desirable design matrix for the equation considering a simple case of 4 x 4 matrix i. 4 4: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 could you give a strategy to duplicate each row

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread Henry Rich
On 9/5/2012 6:18 PM, pascha wrote: sorry for quick posts by me.. I am newbie in J I want to solve a linear system of equation and I want to get a desirable design matrix for the equation considering a simple case of 4 x 4 matrix i. 4 4: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 could y

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread pascha
Henry Rich wrote: > > > > On 9/5/2012 6:18 PM, pascha wrote: >> >> sorry for quick posts by me.. I am newbie in J >> I want to solve a linear system of equation and I want to get a desirable >> design matrix for the equation >> considering a simple case of 4 x 4 matrix i. 4 4: >> 0 1 2 3 >

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread Henry Rich
I'm not clear about what you want. You start with 4x4 You then double the rows to get 8x4 You then do something else, leaving 8x4 (?) You then multiply by 4x2, leaving 8x2 (?) Now you want to get back to 4x4? Do you just want to run each pair of rows together to make one row of the result?

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread pascha
Excuses for this I have 2 x 4: 2 4$1 1 0 0 0 1 1 1 and for simplicity I said 4 x 4 but I want the same 8 x 4 matrix I would consider each doubled row as one element and multiply them by the 2 x 4 one. so each doubled row has size of 2 x 4 and the multiplier as well. I would like to do array by arr

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread Henry Rich
I still can't understand what you want. If you can give a small example, indicating input and desired output, we can help you. Henry Rich On 9/5/2012 7:08 PM, pascha wrote: Excuses for this I have 2 x 4: 2 4$1 1 0 0 0 1 1 1 and for simplicity I said 4 x 4 but I want the same 8 x 4 matrix I w

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread pascha
ok let me give you the big picture. Assume we have: a=: 4 4$1 1 1 1 1 1 2 2 1 1 3 3 1 1 4 4 1 1 1 1 1 1 2 2 1 1 3 3 1 1 4 4 and double it, 2 # a: 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 2 1 1 3 3 1 1 3 3 1 1 4 4 1 1 4 4 the multiplier is2 4$ 1 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 so if I multiply the doubled

Re: [Jprogramming] ddsqlite error on win 7

2012-09-05 Thread bill lam
both 32 and 64-bit binary dll are included in that addons for windows. He needs to provided more detail information as suggested. Срд, 05 Сен 2012, Eric Iverson писал(а): > The cder'' result will likely indicate file not found, which means the > sqlite biniaries aren't installed, or aren't install

Re: [Jprogramming] Problem with single quote character in j701gtk

2012-09-05 Thread bill lam
IME is controlled by a stack of choices, gtk provides an additional backend. Not sure under which environment you tested, but I suggest you also test other gtk application such as gedit as well. Срд, 05 Сен 2012, Arie van Wingerden писал(а): > Hi, > > I think it has something to do with my situa

Re: [Jprogramming] Lint control key for J602

2012-09-05 Thread Henry Rich
OK, I have fixed (or at least improved) detection of explicit definitions, and I now avoid processing nouns (as long as they are detected). I did not make the change you requested about removing the boxing. It's easy for a user to remove the boxing, and besides, it doesn't add much space, co

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread Henry Rich
I see, it's not matrix multiplication. There are several ways: Given a=: 4 4$1 1 1 1 1 1 2 2 1 1 3 3 1 1 4 4 mplr =: 2 4$ 1 1 0 0 0 0 1 1 What we were talking about is mplr (] * (($,)~ $)) 2 # a 1 1 0 0 0 0 1 1 1 1 0 0 0 0 2 2 1 1 0 0 0 0 3 3 1 1 0 0 0 0 4 4 but a much better way is

Re: [Jprogramming] duplicate row of matrix

2012-09-05 Thread David Ward Lambert
Right! "Matrix multiplication" usually means something else. You want a sort of element-by-corresponding-element multiplication. B ; A +---+---+ |1 1 0 0|1 1 1 1| |0 0 1 1|1 1 2 2| | |1 1 3 3| | |1 1 4 4| +---+---+ A solution uses rank conjunction twice. I coul

Re: [Jprogramming] Lint control key for J602

2012-09-05 Thread bill lam
Another false positive defineindex=: 3 : 0 y=. <;._2 (0 : 0) ('i',each y)=: i.#y ) Срд, 05 Сен 2012, Henry Rich писал(а): > OK, I have fixed (or at least improved) detection of explicit > definitions, and I now avoid processing nouns (as long as they are > detected). > > I did not make the chang

Re: [Jprogramming] drop ith elements

2012-09-05 Thread Steven Taylor
In Roger's example, what does m refer to? -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] drop ith elements

2012-09-05 Thread Roger Hui
My example (m$1 1 0)#"1 HugeMatrix was in response to "pascha"'s original post I have a huge matrix (say n x m) and I want to drop the columns numbered with mutiple of 3 (i.e. 3th, 6th, 9th,..) how can I achieve that? which was included at the bottom of my example. On Wed, Sep 5, 2012 at 10: