[Jprogramming] JDB client/server missing from latest addons

2013-03-06 Thread Scott Locklin
I noticed in the latest j701 updates, all the demo files, as well as the client/server are zeroed out: -rw-r--r-- 1 scott scott 0 Feb 1 20:03 jdbclient.ijs -rw-r--r-- 1 scott scott 39446 Dec 4 16:50 jdb.ijs -rw-r--r-- 1 scott scott 0 Feb 1 20:03 jdbserver.ijs -rw-r--r-- 1 scott scott

Re: [Jprogramming] JDB client/server missing from latest addons

2013-03-06 Thread Mike Day
Just checked mine: same here, in a 32-bit Windows 7 environment. Mike On 06/03/2013 8:58 AM, Scott Locklin wrote: I noticed in the latest j701 updates, all the demo files, as well as the client/server are zeroed out: -rw-r--r-- 1 scott scott 0 Feb 1 20:03 jdbclient.ijs -rw-r--r-- 1 sco

Re: [Jprogramming] extacting the main diagonal of a square matrix

2013-03-06 Thread Don Guinn
(<0 1 2)|:B 0 13 26 Or - (wrote: > Don, my function doesn't apply to a 3D array. However, shouldn't the > diagonal of B be 0 13 26 ? > >]B=:i.3 3 3 > 0 1 2 > 3 4 5 > 6 7 8 > > 9 10 11 > 12 13 14 > 15 16 17 > > 18 19 20 > 21 22 23 > 24 25 26 > >(<0 1)|:B > 0 12 24 > 1 13

Re: [Jprogramming] extacting the main diagonal of a square matrix

2013-03-06 Thread Linda Alvord
I like: (<0 1 2 3)|:B=:i.4 4 4 4 0 85 170 255 Linda -Original Message- From: [email protected] [mailto:[email protected]] On Behalf Of Don Guinn Sent: Wednesday, March 06, 2013 8:19 AM To: [email protected] Subject: Re: [Jprogrammi

Re: [Jprogramming] extacting the main diagonal of a square matrix

2013-03-06 Thread Raul Miller
Here's a related expression. 4 4 4 4 #."1 0 i. 4 0 85 170 255 I like how this relates array structure to polynomial structure. -- Raul On Wed, Mar 6, 2013 at 9:22 AM, Linda Alvord wrote: > I like: > >(<0 1 2 3)|:B=:i.4 4 4 4 > 0 85 170 255 > > Linda > > -Original Message- > Fro

Re: [Jprogramming] JDB client/server missing from latest addons

2013-03-06 Thread bill lam
Not sure why this had happened, files in svn are ok. Any ways, the version of jdb has been updated. Ср, 06 мар 2013, Scott Locklin писал(а): > I noticed in the latest j701 updates, all the demo files, as well as the > client/server are zeroed out: > > -rw-r--r-- 1 scott scott 0 Feb 1 20:03

Re: [Jprogramming] extacting the main diagonal of a square matrix

2013-03-06 Thread David Ward Lambert
In addition to the diagonal expressions in the phrases, http://www.jsoftware.com/docs/help701/phrases/special_matrices.htm is a hook for diagonal. rank =: #@:$ diagonal =: |:~ <@:i.@:rank diagonal i. 3 3 0 4 8 diagonal i. 3 3 3 0 13 26 diagonal i.3 3 3 3 0 40 80 > Date: Tue, 5 Mar

Re: [Jprogramming] adjacency matrix

2013-03-06 Thread Zsbán Ambrus
On Sun, Feb 24, 2013 at 1:21 PM, alessandro codenotti wrote: > the adjacency matric to work on! > > the network is a square network where every node is connected to is neighbours Let's do this in classical APL style. Fix the number of rows and columns in your network. numcols =: 4 numrows

[Jprogramming] resistor grid

2013-03-06 Thread Keith Park
-- Forwarded message -- From: Keith Park Date: Mon, Mar 4, 2013 at 7:20 PM Subject: Re: [Jprogramming] ARE:xkcd356 To: [email protected] Thanks. I suspect that you were the only person to receive it, possibly because we had been exchanging messages privately. The mail server seems t

Re: [Jprogramming] ARE:xkcd356

2013-03-06 Thread Raul Miller
For what it's worth, I did receive this. Your approach was where I wanted to go, originally, with this [except I got sidetracked before doing that]. I have also been thinking about the use of pi, as well as the relationship between manhattan distance and linear distance. But I have not felt that

Re: [Jprogramming] adjacency matrix

2013-03-06 Thread Zsbán Ambrus
On 2/24/13, km wrote: > pairs =: [: ,/ [: (2 ,/\ ])"1 (, |:) NB. Constructs left-right and > up-down arcs > pairs i. 3 3 NB. left-right and up-down arcs This is a nice trick to create the list of edges. However, it doesn't work for a non-square matrix. For example, (pairs i. 3 4) will

Re: [Jprogramming] JDB client/server missing from latest addons

2013-03-06 Thread Scott Locklin
Thanks for the quick fix! I looked for other empty files in the addons directory, but I guess files only disappear when you need them. Probably, they were hanging out with my keys and Schroedinger's cat. -Scott Bill Lam wrote: > Not sure why this had happened, files in svn are ok.  Any ways,

Re: [Jprogramming] adjacency matrix

2013-03-06 Thread Raul Miller
You need to regenerate rows and cols to match the matrix size you are working with: 'row col'=. |:3 4 #:,i.3 4 pairs =: [: ,/ [: (2 ,/\ ])"1 (, |:) pairs i. 3 3 0 1 1 2 3 4 4 5 6 7 7 8 0 3 3 6 1 4 4 7 2 5 5 8 FYI, -- Raul On Wed, Mar 6, 2013 at 3:24 PM, Zsbán Ambrus wrote:

Re: [Jprogramming] resistor grid

2013-03-06 Thread chris burke
Keith: Likely you missed the email because of this gmail feature: http://www.jsoftware.com/jwiki/System/Forums#Gmail Chris On Thu, Mar 7, 2013 at 12:45 AM, Keith Park wrote: > -- Forwarded message -- > From: Keith Park > Date: Mon, Mar 4, 2013 at 7:20 PM > Subject: Re: [Jprog

[Jprogramming] Test message - please ignore

2013-03-06 Thread Lippu Esa
This is a test message. Please ignore it. Esa -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Test message 2

2013-03-06 Thread Lippu Esa
Another test - sorry -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Test message 3

2013-03-06 Thread Lippu Esa
Last test - sorry for the inconvinience. Esa -- For information about J forums see http://www.jsoftware.com/forums.htm