Re: [Jprogramming] Bug or feature in Power conjunction?

2014-04-22 Thread Dan Bron
J arrays must be rectangualar, which means have the same number of cells along each dimension. The 2nd row of a table can't be shorter than the 5th row. The 18th plane in a cube (hyperrectangle) can't have fewer rows than the 107th plane in that same cube. Recursively: an array is a 1-dimensional

Re: [Jprogramming] Bug or feature in Power conjunction?

2014-04-22 Thread km
(r90&.>)^:(i.3) < mat +-+---+-+ |0 1 2|3 0|5 4 3| |3 4 5|4 1|2 1 0| | |5 2| | +-+---+-+ --Kip Murray Sent from my iPad > On Apr 22, 2014, at 10:20 AM, "Francesco Pedulla'" wrote: > > Hello everybody, > I am using J801 under Ubuntu. Here is a behaviour I do not unders

Re: [Jprogramming] Bug or feature in Power conjunction?

2014-04-22 Thread Linda Alvord
I don't know the answer to you question. Maybe this will be helpful. You can rename so you will find the names to be useful. ]A=:i.2 3 0 1 2 3 4 5 ]B=:i.3 3 0 1 2 3 4 5 6 7 8 f=: 13 :'|:|.y' f A 3 0 4 1 5 2 f B 6 3 0 7 4 1 8 5 2 f f B 8 7 6 5 4 3 2 1 0 f f f B 2 5 8 1 4 7

Re: [Jprogramming] Bug or feature in Power conjunction?

2014-04-22 Thread Don Guinn
You are concatenating a 2x3 and a 3x2 matrices. They must be expanded to 3x3 to conform. Then filled. On Apr 22, 2014 9:20 AM, "Francesco Pedulla'" wrote: > Hello everybody, > I am using J801 under Ubuntu. Here is a behaviour I do not understand: > >mat=:i.2 3 >r90=:|."1@:|:"2 >r90^:0

[Jprogramming] Bug or feature in Power conjunction?

2014-04-22 Thread Francesco Pedulla'
Hello everybody, I am using J801 under Ubuntu. Here is a behaviour I do not understand: mat=:i.2 3 r90=:|."1@:|:"2 r90^:0 mat 0 1 2 3 4 5 r90^:1 mat 3 0 4 1 5 2 r90^:2 mat 5 4 3 2 1 0 So far, so good. But: r90^:(i.3) mat 0 1 2 3 4 5 0 0 0 3 0 0 4 1 0 5 2 0 5 4 3 2 1 0 0 0 0

[Jprogramming] J Conference 2014 - early registration deadline

2014-04-22 Thread Eric Iverson
You must register for the conference before May 1st to get the special early rate. The 2012 conference was a great success and this one promises to be even better. Make your commitment now! The fee jumps quite a bit in just over a week.

Re: [Jprogramming] Logarithmic Mean

2014-04-22 Thread Bo Jacoby
You get bigger round-off errors when computing the difference between logarithms than when computing the logarithm of the ratio. That's why a logarithmic mean of almost equal numbers turned out very badly.    (-/@:^. ,. ^.@:%/)1e13+?2 6$0 _3.55271e_15 _3.10862e_15  1.42109e_14  1.53211e_14  3.5

Re: [Jprogramming] Logarithmic Mean

2014-04-22 Thread Linda Alvord
You're right! (lousy proofreading.) I'm getting better at reading all your "slight of hand". Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Bo Jacoby Sent: Tuesday, April 22, 2014 2:47 AM To: programm.