This sequence has a few problems:
A=. ? (2$n)$2 NB. generate random matrix of [0,1]
A=. A *. (i.n) mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Michal D.
Sent: Monday, November 05, 2012 10:29 PM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Arc consistency in
500+".(":12),":345
12845
Linda
-Original Message-
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of PackRat
Sent: Thursday, July 14, 2011 11:50 PM
To: Programming forum
Subject: [Jprogramming] Appending two numbers to form a new number
I
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Tuesday, November 06, 2012 4:07 AM
To: 'Programming forum'
Subject: Re: [Jprogramming] Appending two numbers to form a new number
500+".
This was in my mail right next to Arc.
I thought it was current. Sorry
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Tuesday, November 06, 2012 4:07 AM
To: 'Programming forum'
Linda mentioned this old thread very recently and I noticed a way to
tie together mijj contribution with the original question. In the
original question the example data specimen was as follows.
aa=. 2 7 $ 6;30;1;17;119;118;116;63;2;5;17;103;14;1
But mijj seemed to want to extend the case to a li
> Change from a Noun to a verb, view its tacit version and apply it to data:
>
> dd=: 13 :'(y%2) > (?]) x$y'
>
> dd
> (2 %~ ]) > [: (? ]) $
>
That is quite cool. I'm surprised that you can automatically get the tacit
definition. Does this work for any explicitly defined verb?
I'm also s
'noun verb verb' is a fork and is interpreted as 'noun"_ verb verb' (noun"_
is a constant verb whose result is noun). http://keiapl.org/anec/#nvv
'verb verb noun' can not be made into a fork because 'verb noun' already
has an interpretation (*viz*., apply verb to noun).
On Tue, Nov 6, 2012 at 8
Removing 0 = was my suggestion. I've not taken the time yet to see
why this was a bug, but I apologize.
Thanks,
--
Raul
On Mon, Nov 5, 2012 at 10:29 PM, Michal D. wrote:
> Hi Linda, you are a bug finding machine! c11 is simpler than the original
> and is more correct than the latest version
Linda Alvord wrote:
This sequence has a few problems:
A=. ? (2$n)$2 NB. generate random matrix of [0,1]
A=. A *. (i.n)
I have no idea where this fits in the scheme of sudoku solvers, but the repeated use of "i. y" in
your definition of "f" seems awkward, and the repeated use of "f n"
Did you compare the tacit verbs of these two functions?
f=: 13 :'(i.y)mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Peter B.
Kessler
Sent: Tuesday, November 06, 2012 2:26 PM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Arc consistency in J
Linda Alvord wrote:
> Thi
I certainly looked at the difference in the resulting tacit forms. I did not
look at the performance difference until you prompted me to
NB. Modest values for to get numbers in the believable range.
1000 (6!:2) 'f 1000'
0.00125151
1000 (6!:2) 'upperRightOnes 1000'
0.0012
(^@j. = cos + 0j1 * sin) 1 2 3 0.1j_0.2
1 1 1 1
(^j. = cos + 0j1 * sin) 1 2 3 0.1j_0.2
1 1 1 1
^j.
^ j.
This made a connection with trigonometry relationships. I now have a little
glimmer about t. but I must admit it is still fuzzy.
^t.
%@!
Linda
-Original Message---
'noun verb verb' is a fork and is interpreted as 'noun"_ verb verb' (noun"_
is a constant verb whose result is noun). http://keiapl.org/anec/#nvv
When I said:
Change from a Noun to a verb, view its tacit version and apply it to
data:
dd=: 13 :'(y%2) > (?]) x$y'
I should have said:
Chan
And I never worry much about timing as J always beats me "big time", even
when poorly but correctly written.
Linda
-Original Message-
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Peter B.
Kessler
Sent: Tuesday, November 06,
Hi Raul,
I think you suggested it in another place and I replaced it where I
shouldn`t have.
Cheers,
Mike
On Tue, Nov 6, 2012 at 10:22 AM, Raul Miller wrote:
> Removing 0 = was my suggestion. I've not taken the time yet to see
> why this was a bug, but I apologize.
>
> Thanks,
>
> --
> Raul
Thanks Roger, that makes sense now. The history of J is one of it`s
intriguing aspects for sure.
Re: Linda: I would call it a v(erb) as opposed to a N(oun). But what do I
know? ;-)
Mike
On Tue, Nov 6, 2012 at 8:53 AM, Roger Hui wrote:
> 'noun verb verb' is a fork and is interpreted as 'noun"
16 matches
Mail list logo