[Jprogramming] FW: Rank difficulties

2023-09-08 Thread 'Ian Shannon' via Programming
$ 5 2 {"0 5"0 _ M 2 7 8 9 10 $ (,5){"0 4"0 _ M 1 6 8 9 10 $ 5 {"0 4"0 _ M NB. index is scalar 6 8 9 10 The dimension specified by r (counting from the back end) is removed from the array, and replaced by a new first dimension of length determined by

[Jprogramming] Using PLOT package: how to position text

2013-09-08 Thread Ian Shannon
Hi there, I am using the PLOT package. When using the pd commands text, textc and textr, we have ... Argument is x y text, where x y are coordinates relative to the current window. with x, y element of [0 .. 1000] or pixels (using x suffix). This is fine for some situations, but I would like

Re: [Jprogramming] Determining an 'alternating' binary array

2012-08-02 Thread Ian Shannon
Roger Hui writes: > >timer=: 6!:2 > >] t=: 3 : 'timer ''+/\a'' [ a=.y?@$0'"0 ] n=: 1e4 * 2 ^ i.7 > 0.000123759 0.000225448 0.000207568 0.000373511 0.00126888 0.00315096 > 0.00598093 > >load 'plot' >plot n;t > > Looks pretty linear to me. Linear? well maybe, interesting Yes.

Re: [Jprogramming] Verbs that contain nouns

2012-07-29 Thread Ian Shannon
a g 4 g 3 2 $ 2 4 1 5 0 g 8 paths =: 3 pathB 16"_NB. Another constant verb (also a fork) g 4 g 3 2 $ 2 4 1 5 0 g 8 paths =: _3 pathB 16"_ NB. Another constant verb (also a fork) g 4 g 3 2 $ 2 4 1 5 0 g 8 NB. gives an error!

Re: [Jprogramming] Programming Digest, Vol 82, Issue 53

2012-07-26 Thread Ian Shannon
From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of programming-requ...@forums.jsoftware.com Sent: Friday, 27 July 2012 1:35 AM To: programming@forums.jsoftware.com Subject: Programming Digest, Vol 82, Issue 53 Send Programming mailing li