Thanks Bill for the quick fix I pulled it down with pacman and it works as
intended.
Now does anyone have a full size jpeg of Oleg’s remove shadow input.jpg?
The Jsoftware site that has his example has a smaller version that has the
original, the filtered shadow, and the final result all in 1 j
Hmm... that's really neat.
Personally, I would use J's cut rather than <;._1 ' '&, but that's
pretty minor. (Also, I got rid of the fwrite -- to inspect i, I
instead used 9!:37]4$0 512).
(Also, for my own sanity, I removed the "0 from the trailing edge of
the i0..i13 verbs and instead put had i',
Almost gave up on that one - but got it solved somehow and still don't know
why it works...
I started to parse the instructions into 14 iteration verbs i0-i13. For
this I used a mapping m for translating instructions into J verbs - mapping
inp to : is merely used for splitting; the jx verb then cre
Agreed. Thanks.
Am 20.01.22 um 15:43 schrieb Henry Rich:
That seems to me an unusual application not deserving of a primitive.
And }:: is being held open for 'emend', modification inside a boxed
structure.
You are right to point to rank as the basic problem. Maybe a way to
give rank to u} w
That seems to me an unusual application not deserving of a primitive.
And }:: is being held open for 'emend', modification inside a boxed
structure.
You are right to point to rank as the basic problem. Maybe a way to
give rank to u} would be a more general solution.
Henry Rich
On 1/19/2
I'll take the opportunity to update a more general } specialization that
probably doesn't need its own primitive because it is tacit (except for ar).
ar =: 1 : '5!:1 <''u'''
amend =: [` ([."_ ` ar) `{`] `: 6 ` (]."_) `] }~~
1 amend (2 0 ; 1 1) i. 3 3
0 1 2
3 1 5
1 7 8
there is a fully tac