Did you notice
g=: u ^: p ^: _
h=: 3 : 't=. y while. p t do. t=. u t end.'
on http://www.jsoftware.com/help/dictionary/d202v.htm ?
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens
If the code in the string is altering the content of the string, you get
non-von Neuman programming, with (sometimes) very neat
consequences.
Powerful, yes, but equally dangerous and sometimes even hardly predictable.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun
My 2 cents:
(./-./)+/\+/1 _1 *A
1
(./-./)+/\+/1 _1 *B
2
So A qualifies, B does not.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Linda Alvord
Verzonden: zaterdag 28 juli 2012 9:43
For some reason this post was not received by the forum.
R.E. Boss
-Oorspronkelijk bericht-
Van: R.E. Boss [mailto:r.e.b...@planet.nl]
Verzonden: vrijdag 3 augustus 2012 16:43
Aan: Programming forum (programm...@jsoftware.com)
Onderwerp: RE: [Jprogramming] J conference 2012
'
GHIJKLMNOPQRSTUVWXYZABCDEF
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Raul Miller
Verzonden: vrijdag 24 augustus 2012 21:17
Aan: programm...@jsoftware.com
Onderwerp: Re: [Jprogramming
\profilex.ijs
Works great.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Thomas
Costigliola
Verzonden: zaterdag 8 september 2012 23:22
Aan: J Programming Forum
Onderwerp: [Jprogramming] J
3 (4 : '({.y) (] {~ [:^:3 i.~)^:x y') 1 1 2 3 1 9 10 8 1
2 3 9 10 8 1
3 (4 : 'y{~3{.I.(={.)y') 1 1 2 3 1 9 10 8 1
2 3 9 10 8 1
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Roger Hui
8 years ago (it took me some time even to remember) this problem was solved
(much) more generally
http://www.jsoftware.com/pipermail/general/2004-May/017503.html
1 3 1 3 2 strikeb2~ 1 2 3 1 9 10 8 1 2 3
9 10 8 1 2
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun
IMO the essay should also hold the example from page 22 of 'A Brief J
Reference' of Burke Reiter:
({.,#)/.~ymay use key to get nub and frequencies appearing in y
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming
is deleted.
This will give me
A foo B
0 1 2 0 1 2 0 1
0 1 2 0 1 2 0 1
2 0 1 2 0 1 2 0
2 0 1 2 0 1 2 0
1 2 0 1 2 0 1 2
Any elegant solutions?
R.E. Boss
--
For information about J forums see http://www.jsoftware.com/forums.htm
NB. ({:1 A) equals {.1 B
so not the leading column of A
Perhaps I should have added that ({:1 A) =~. {.1 B
or all not matching rows are deleted.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com
(([:$])#:[:I.[:,]) but our solutions used the
same idea.
An alternative for Aai's solution, but not better, is
A ;@([ (,}.)1 L:01 0 (=/:({:1) |.1)@# ]) B
0 1 2 0 1 2 0 1
0 1 2 0 1 2 0 1
2 0 1 2 0 1 2 0
2 0 1 2 0 1 2 0
1 2 0 1 2 0 1 2
R.E. Boss
-Oorspronkelijk bericht-
Van: programming
I do like the LHS (=/S:0 { ({:1 A);({.1 B))
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens EelVex
Verzonden: dinsdag 16 oktober 2012 7:14
Aan: programm...@jsoftware.com
Onderwerp: Re
Bron taught me to give the use case which underlie an issue.
For the stitching matrices this was the need to determine the ancestral paths
in a tree where the parent-child pairs were given.
R.E. Boss
--
For information about
_2({.\,:{:\)i.6 3
0 1 2
6 7 8
12 13 14
3 4 5
9 10 11
15 16 17
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Aai
Verzonden: dinsdag 20 november 2012 18:30
Aan: programm
|.0 1 .|:
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Gian Medri
Verzonden: woensdag 21 november 2012 11:00
Aan: programm...@jsoftware.com
Onderwerp: [Jprogramming] rotate columns
http://www.brainyquote.com/quotes/quotes/e/edsgerdijk201164.html
or, as I heard him say much shorter: Basic ruins your life.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Boyko
Bantchev
,:!.'0'L:0/'11';'111'
110
111
Notice:
$,:!.'0'L:0/'11';'111'
2 3
$,:!.'0'S:0/'11';'111'
1 2 3
This question was posed many times before.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun
Difference between 32-bit and 64-bit, as was noticed (long) before.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Ric Sherlock
Verzonden: woensdag 12 december 2012 3:05
Aan: Programming
datatype L:0 (g 5000x); h 5000
+++
|floating|extended|
+++
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Linda Alvord
Verzonden: zondag 23 december 2012 2:25
And don't forget to start with
http://www.jsoftware.com/help/learning/contents.htm
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens km
Verzonden: woensdag 16 januari 2013 10:53
Aan
I'm impressed by your talent for teaching!
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Dan Bron
Verzonden: zaterdag 19 januari 2013 20:06
Aan: programm...@jsoftware.com
Onderwerp: Re
In http://www.jsoftware.com/help/dictionary/d612.htm
http://www.jsoftware.com/help/dictionary/d612.htm (`: n) is explained, but
how do I apply a set of gerunds to one set of items?
R.E. Boss
--
For information about J
You apply the verbs which make the gerund, to the items.
Perhaps I should have set ... apply a set of gerunds to a noun.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens bob therriault
and check the
output.
So (4 :'x`:3 y'1_ 1) does the job.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Raul Miller
Verzonden: woensdag 23 januari 2013 19:27
Aan: programm...@jsoftware.com
I'm happy you are back!
Always an opportunity to learn new things.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Dan Bron
Verzonden: donderdag 24 januari 2013 23:27
Aan: programm
OK, shutting ghostery made it work.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Raul Miller
Verzonden: woensdag 30 januari 2013 14:16
Aan: programm...@jsoftware.com
Onderwerp: Re
What about
'thisisatestthisisatest' lcs 'testing123testingtesting123testing' ?
R.E Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Raul Miller
Verzonden: vrijdag 1 februari 2013 21:40
Aan
I like the Don!
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Greg Borota
Verzonden: vrijdag 5 april 2013 15:49
Aan: programm...@jsoftware.com
Onderwerp: Re: [Jprogramming] Obtaining
times the result of 6!:2
multiplying milliseconds by 1000 gives seconds (here), dividing milliseconds by
1000 gives microseconds.
R.E. Boss
--
For information about J forums see http://www.jsoftware.com/forums.htm
.
R.E. Boss
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens Devon
McCormick
Verzonden: woensdag 8 mei 2013 20:25
Aan: J-programming forum
Onderwerp: Re: [Jprogramming] J on Julia benchmark
I
Well, it's impressive what (and how) you got on those two pages.
Perhaps it's worthwhile to extend
http://www.jsoftware.com/jwiki/Books#J_Reference_Card with the J primitives
missing.
In the German translation, which covers 3 pages, it is mentioned, under
diagonal.
R.E. Boss
nuggets -: Jems
(dixit Bron: http://www.jsoftware.com/jwiki/DanBron)
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics)
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com
ts'#; ([ ;@:{L:0 1~ [:,L:0 ])/(;@:{L:0 1)~^:(5 3 1) 1;1 0'
0.88478818 3.770689e9
In http://archive.vector.org.uk/art10501080 the rabbit sequence is used to
describe L-systems in J.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Oorspronkelijk
From http://www.jsoftware.com/help/dictionary/d202n.htm we learn
x u^:( v1`v2)y ↔ x u^:([`v1`v2) y ↔ (x [ y)u^:(x v1 y) (x v2 y)
so P ([:; {~)^:(]`(S_)) 20 ↔ P ([:; {~)^: 20 S
You do not need to understand the internal representation of (]`(S_)) to apply
the above rule(s).
R.E. Boss
1 2 3 i.~ 2 5 6 3 1 9 5 2
4 0 3
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Oorspronkelijk bericht-
Van: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] Namens David Vincent-
Jones
Verzonden
Wasn't it
(, '/' -. {:) '/some/path'
?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Dan Bron
Sent: maandag 9
@;1 L:0/a
+-+-+-+
|+-+-+|+-+-+|+-+-+|
||0|a|||1|b|||2|c||
|+-+-+|+-+-+|+-+-+|
+-+-+-+
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming
vert =: [: ;1 ./
invert =: (,~,:)~L:0/
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Roger Hui
Sent: zaterdag 5
Example(s)?
(I take it you mean monad ,: )
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Roger Hui
Sent
So 'data' was plural?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Henry Rich
Sent: dinsdag 8 oktober 2013 3:52
|||
|| | |+-+||| | |+-+||| | |+-+||| | |+-+||
|+-+-+---+|+-+-+---+|+-+-+---+|+-+-+---+|
+-+-+-+-+
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun
deltoy=:13 : '(y*_1|.y)%+/y'
ytodel =:13 : '(+/(y*_1|.y))% 2 0 1{y'
lr'deltoy'
(] * _1 |. ]) % +/
lr'ytodel'
([: +/ ] * _1 |. ]) % 2 0 1 { ]
lr'lr'
5!:5@
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message
ss (1 i.~1 (e.S:00 _;L:1))~ 1;13;8
1 4 3
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of km
Sent: woensdag 13
||
|+-+|+-+-+|+-+|+-+-+-+|+-+-+|+-+|+-+-+-+-+|+-+-+-+|+-+-+|+-+|
+---+-+---+---+-+---+-+---+-+---+
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun
Actually, it IS a (4D binary reflected) Gray code.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Devon McCormick
=: -..) or nicer (mn=: -.L:1) NB. minus
7. nt=: [ mn mn NB. Intersection; or
nt=: mn/NB. Intersection for a list of sets
9. dv=: ,.L:1 NB. Display vertically
10. eq=: mn -: mn~ NB. Equality; important since sets are not sorted
R.E. Boss
(Add your info to http
||
| | | | | | | |+-+| | | |+-+| |+-+|+-+|+-+|
| | | | | | | | | | | | | | | ||3||
| | | | | | | | | | | | | | | |+-+|
+-+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From
Are you aware of http://www.jsoftware.com/help/dictionary/d202v.htm ?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf
: , 1:))) ] (] , 2: ^ (- 2^)) .@(2^.)@:) 19
1
(Gray i.524288)-: #:([: ({: (({. * #@]) ,@:+ ($ (,: |.))) ((* #) ,@:+ # $
(,: |.))^:({.`(0: , 1:))) ] (] , 2: ^ (- 2^)) .@(2^.)@:) 19
1
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message
See the examples in http://www.jsoftware.com/help/dictionary/d202v.htm
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf
Perhaps you should have a look at
http://www.jsoftware.com/jwiki/AndrewNikitin/plothacks#Clone_plot_in_a_new_w
indow
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
http://arxiv.org/pdf/1401.1532v1.pdf
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
--
For information about J forums see http://www.jsoftware.com/forums.htm
('=:') splitstring each ('a=:b';'c=:dz')
+-+--+
|+-+-+|+-+--+|
||a|b|||c|dz||
|+-+-+|+-+--+|
+-+--+
'=:' splitstring L:0 ('a=:b';'c=:dz')
+-+--+
|+-+-+|+-+--+|
||a|b|||c|dz||
|+-+-+|+-+--+|
+-+--+
R.E. Boss
(Add your info to http://www.jsoftware.com
Same here
ts 'p0=: 9223372036854775807x ^ 1'
16.509273 5436416
ts 'p1=: 9223372036854775807x intpower 1'
5.9769485 1710080
JVERSION
Engine: j701/2011-01-10/11:25
Library: 8.01.016
Qt IDE: 1.0.22/4.8.5
Platform: Win 64
Installer: j801 beta install
R.E. Boss
(Add your info
Repeated squaring (from
http://www.jsoftware.com/jwiki/Essays/Repeated%20Squaring ) is as fast but
twice as fat as intpower
ts'pr=:9223372036854775807x (4 : ''*/ *~^:(I.|.#:y) x'') 1'
5.9712462 3560960
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics
Tried to use the lab Fast Fourier Transform but the first simple example
already crashed:
fftw i.8
|domain error: cd
| 0 pick cmd cd(#shape);shape;in;out;dir;flag
both in J801 end J602.
What is the status of the addon math/fftw ?
R.E. Boss
(Add your info to http://www.jsoftware.com
. |
+---+-+
DLL_jfftw_
libfftw3-3_64.dll
file (1800 kB) is in location /addon/math/fftw/
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun
with the lab.
Notice, there are two lines in the FFT lab with word wrap, line 155 and 177 in
fftw.ijt
After correcting these the lab works fine.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
What about this one
https://plus.google.com/u/0/photos/101244335910217616226/albums/598024084706
7744881 ?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun
://www.scientificamerican.com/article/why-gaming-could-be-the-future-of-
education/
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
--
For information about J forums see http://www.jsoftware.com/forums.htm
From http://www.grammarphobia.com/blog/2009/07/steep-learning-curves.html
'Thus, a “steep learning curve” in common parlance refers to the difficulty of
learning something.'
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From
)
(...)
I use 0 to force a rank zero (operate on each item).
(...)
No.
0 forces to operate on each atom or 0-cell.
To operate on each item use _1
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics
The obvious being
6!:0 '-MM-DDThh:mm:ss'
2014-03-02T13:32:57
?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com
Borrowing from Guinn:
1 0 1 0 } (,:~(+: :: ])L:0) 4;'a';3;6
+-+-+-+--+
|4|a|3|12|
+-+-+-+--+
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun
http://www.jsoftware.com/help/dictionary/d630n.htm
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Alex
|
+--+---+
|11|1 2|
+--+---+
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of 'Pascal Jasmin' via
Has to do with datatype:
datatype 0 0 1 0
Boolean
datatype ].: 0 0 1 0
integer
so
'p,'(8!:2) ].: 0 0 1 0
,0,0,1,0
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
Ignore the boxing.
(* 0:@,~2=}.) 1 2 3 2 2 4 2 1
2 2 6 4 2 8 2 1
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf
Here are some other solutions:
http://www.jsoftware.com/jwiki/Puzzles/Gray%20Code and
http://www.jsoftware.com/jwiki/RE%20Boss/Performance%20Records/Gray%20code
R.E. Boss
Very cool.
R.E. Boss
Date: Sat, 31 May 2014 03:03:01 +1200
From: tikk...@gmail.com
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] opportunity to show off jhs or qt
Cool!
On Sat, May 31, 2014 at 2:42 AM, Joe Bogner joebog...@gmail.com wrote:
On Fri, May 30, 2014 at 10
http://mathworld.wolfram.com/RootofUnity.html seem to indicate you are right.
R.E. Boss
Date: Mon, 2 Jun 2014 13:59:10 -0600
From: dongu...@gmail.com
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Identifying roots of unity
Is n below a primitive root of unity?
n=._1^3r8
here too
JVERSION
Engine: j701/2011-01-10/11:25
Library: 8.02.09
Qt IDE: 1.1.2/5.3.0
Platform: Win 64
Installer: J802 install
InstallPath: c:/users/j64-802
R.E. Boss
Date: Tue, 3 Jun 2014 19:29:46 +0200
From: agroeneveld...@gmail.com
To: programm...@jsoftware.com
Subject: Re
'a b'=.3;i. 5
a ([:|:,1 0) b
0 0 0 0 0
1 1 1 1 1
2 2 2 2 2
0 1 2 3 4
is what I want, but isn't there a more elegant way?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics
http://www.jsoftware.com/jwiki/Community/Demographics
[:, ([:+/\ +/\.)^: (@]`(1x 1_))
http://www.jsoftware.com/jwiki/RE%20Boss/J-blog/Fibonacci#New_performance_re
cord
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics
http://www.jsoftware.com/jwiki/Community/Demographics
Then I would prefer Millers solution.
Or equivalently
a (($0~ #),]) b
0 0 0 0 0
1 1 1 1 1
2 2 2 2 2
0 1 2 3 4
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming
That's what I call elegant.
Thanks.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Henry Rich
Sent: zaterdag 7 juni
error: wd
| wd'pc viewmat;pn *',TITLE
viewmat i. 3 4 4
|length error
| 'mat ang'=.mat
viewmat i. 1 4 4
|length error
| 'mat ang'=.mat
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun
And for a and b?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of 'Bo Jacoby'
via Programming
Sent: zaterdag 7 juni 2014
This was always my favorite documentation on J and I recommended it several
times over the years.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun
360
Or tacitly
(](([, (% |.))]#~ 0=|~) [:i..: .@%:)
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Roger Hui
Sent
Never work with arrays of that length.
What's worse, it was wrong.
Better is
(3 :'~.b, y%|. b=.a#~ 0=y|~ a=.:i. .%:y')36
1 2 3 4 6 9 12 18 36
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun
See http://www.jsoftware.com/jwiki/RE%20Boss/nextnewpage where I adjusted
the size of the plot window by hand so as to more or less let the text
labels coincide with the points.
Is there a way to achieve that automatically?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki
'textfont ...' is ignored anyhow.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of chris burke
Sent: woensdag 11 juni 2014 10
I get the impression pd 'textfont ...' is ignored anyhow.
Well, apparently only in the plot-window. After pd'pdf' the fontspecs are
loud and clear.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun
(i../) gives the (first) index of the maximum.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Jon Hough
Sent
See also the categories on http://simplifyconnections.appspot.com/?place=J
R.E.Boss
Date: Wed, 25 Jun 2014 20:33:37 -0500
From: s...@caveconsulting.com
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Test Your J
Great idea Henry - a J test! After seeing Henry's quiz (on which
Which adds up per continent to
Asia 2
Africa 0
North America 34
South America0
Antarctica 0
Europe 8
Australia0
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics
Nice!
Beats my usual constructs for up and down sequences:
}:4-|i:3
1 2 3 4 3 2
or
}:(.|.):i.7
1 2 3 4 3 2
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
3,07 GHz Intel Core i7 950
x=: 1e6 $ ' '
y=: a. {~ ? 1e6 $ 256
%/ 100 (6!:2) '/:~x' ; '/:~y'
1.7674852
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming
look at 'Item Amend':
/} 1 2 3,:2 2 2
2 2 3
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Raul Miller
Sent
I have itemamend in my startup to do this.
0 1 1 itemamend i.2 3 2
0 1
8 9
10 11
itemamend=: 4 : 'y {~ ;/(,.i.@#)x'1 _
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
It's remarkable you write about readability and terminate all your sentences
with a question mark.
I don't consider that as readable, but confusing and time consuming.
Or is it only important for computer code to be readable?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki
My (2) tips for readability:
(1) avoid tacit programming,
(2) if you cannot resist it, only use a few verbs, whether it is a fork
or a hook.
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun
Why not?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Devon McCormick
Sent: dinsdag 15 juli 2014 5:12
To: J
From http://www.jsoftware.com/help/dictionary/dacapdot.htm
$(i.@! @A. i.)5
120
(( A..~ [: i. [: ! #)@i.-:(i.@! @A. i.))5
1
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com
|||c3||
|+--+--+|+--+|
+---++
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun...@forums.jsoftware.com] On Behalf Of Joe Bogner
Sent: vrijdag 25
What information is available about difference in performance between using
symbols and indices?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun
- green
5 - black
NB. I had to use 1 ,: otherwise
error in: plot_gs_paint
length error: qtmark_diamond
'x y'=.|:y
and I had to force J down
Engine: j701/2011-01-10/11:25
Library: 8.02.10
Qt IDE: 1.1.3/5.3.0
Platform: Win 64
Installer: J802 install
R.E
Also the memory is less than half
ts 'c2 T'
0.025803916 26218880
ts 'c1 T'
0.043909495 68163200
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
-Original Message-
From: programming-boun...@forums.jsoftware.com [mailto:programming-
boun
1 - 100 of 445 matches
Mail list logo