full keyboard laid out like a standard PC keyboard including four arrow
keys for moving cursor. The default is the standard keyboard
for portrait and the full PC-like keyboard for landscape.
On Sun, Jul 8, 2012 at 10:19 AM, William Tanksley, Jr wrote:
> Don Guinn wrote:
> > The Highjacker&
The Highjacker's keyboard has cursor movement keys. Really helpful in
moving the insertion point as touching the exact insertion point can be
difficult.
On Sun, Jul 8, 2012 at 9:40 AM, Konrad Hinsen
wrote:
> William Tanksley, Jr writes:
>
> > Aside from that, the qwerty-inspired "Compass Keyboa
Thanks. Had not really understood the gerund form for Power until now.
On Friday, July 6, 2012, Henry Rich wrote:
> That's my 'bivalent':
>
> u^:(1:`(]v))
>
> HenrTy Rich
>
> On 7/6/2012 7:13 PM, Don Guinn wrote:
>> It's always bugged me th
It's always bugged me that nl ignored x and y. So, for the fun of it, I
thought I would try to make nl handle x and y. I pulled a lot of the code
of nl into a tacit expression so x and y would be handled properly.
nlt=.(4!:1 :: (;:^:(0:=L.)))@(0 1 2 3"_`]@.(*@#))
nl_z_=: (nlt : ((4 : 0) nlt)) f.
Thanks. Typo. Should read what I write.
On Sat, Jun 2, 2012 at 11:00 AM, Raul Miller wrote:
> I think you meant
>
> ...things on the left of a ; ...
>
> instead of
>
> ..things on the left of a ;: ...
>
> --
> Raul
>
> On Sat, Jun 2, 2012 at 9:04
a:;a:;a:
┌──┬──┬┐
│┌┐│┌┐││
│└┘│└┘││
└──┴──┴┘
a:;a:;wrote:
> 'a b c'=:a:;a:;a:
> a
> ┌┐
> ││
> └┘
> b
> ┌┐
> ││
> └┘
> c
>
> Note that c is empty, but a and b are "empty boxes".
>
> Linda
>
> -Original Message-
> From: programming-boun...@jsoftware.com [mailto:
"names" is a verb defined in the z locale unless you gave it a value. So
you should get a syntax error for (names)=.1 2 .
Gerunds are kind of weird as they are really nouns.
(;:'+-')-:+`-
1
Never thought about trying to use a variable on the left of the gerund
assignment. Took a while to figur
I made a form of parking spaces in a RV storage facility. Each space was a
button and irregularly shaped and at odd angles.
As you suggested given a mouse click, I selected all potential shapes close
for performance. To determine which shape the click actually was I took all
adjacent corners of a
What about "Lock Script" (3!:6)?
On May 2, 2012 8:07 PM, "Ian Clark" wrote:
> Just today my imagination seems to have deserted me...
>
> Has anyone got a neat well-tried method of saving/reloading a J script
> in encrypted form? Just to hide lists of sensitive personal data from
> casual prying.
What is the problem that needs to be fixed? What should the correct result
be?
When is the absolute value of a number close enough to zero for the number
to be considered zero? Should a number in an array be considered to be zero
based on its value independent of other numbers in the array or shou
Tried it on my Fire and it did not fail.
ARMv7 Processor rev 3 (v7l) 300.0MHz
generic/blaze/blaze:2.3.4/GINGERBREAD/6.2.2
On Thu, Mar 22, 2012 at 4:45 PM, Paul Jackson wrote:
> I've found a strange set of errors doing trig on fractions. These do not
> occur on my 32 or 64 bit PCs. They also d
t; On Sun, February 26, 2012 12:24 pm, Don Guinn wrote:
> > But it's too big and too powerful to teach real programming. To fully
> > understand computers one must be forced to program at no higher than
> > machine language
>
> My father did that on the MIT Whirlw
But it's too big and too powerful to teach real programming. To fully
understand computers one must be forced to program at no higher than
machine language and have to handle the most basic level of hardware I/O,
optionally aided by an assembler. Wouldn't hurt to have to do a little
microcoding as
(|i.|3 4|)|+|/|.|*|0j4|+|pru|4|
> +---+--+-+--+---+-+-+-+-+-+---+-+---+-+
>
>
> Henry Rich
>
> On 2/24/2012 11:58 PM, Don Guinn wrote:
> > d332 for ;: in J Vocabulary. I didn't want to put all that in the mail,
> but
> > here it is.
> >
> > mj=: 256$0
2 1 2 7 0 NB. 8 ''
9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 9 0 NB. 9 comment
)
x=: 0;sj;mj
y=: 'sum=. (i.3 4)+/ .*0j4+pru 4'
x ;: y
On Fri, Feb 24, 2012 at 9:28 PM, Henry Rich wrote:
> Where is this help, where sj and mj are defined?
>
> Henry Rich
>
I've lost track of the number of times I have tried to make dyadic ;: work.
I read it, understand it (I think), but I can't get it to work. The general
description has m, the input mapping as a list of boxes, each box
containing the items to be mapped to the same number. So, in an attempt to
figure
ionality for all of them.
>
> Finally, note that after doing all this work, the changed implementation
> would initially accomplish only one thing: it would be creating new ways of
> generating errors.
>
> --
> Raul
>
> On Mon, Feb 20, 2012 at 9:39 AM, Don Guinn
Perhaps I was just being a little picky in the distinction. But the
distinction between adverbs and conjunctions is important. It is similar to
the distinction between monadic and dyadic verbs.
Sometimes I wonder what J would look like if verbs were not ambivalent. It
could avoid some confusion fo
Tie is not an adverb. It is a conjunction.
Tie=:`
4!:0 <'Tie'
2
On Sun, Feb 19, 2012 at 2:46 AM, Linda Alvord wrote:
> . . .
>
> Tie has died, and it is just a common variety of adverb.
> . . .
--
For information about J f
Yes. I really think this is a crazy idea to forget. Quotes don't really
need to be doubled except if the text is to be executed.
On Sunday, February 12, 2012, Raul Miller wrote:
> On Sun, Feb 12, 2012 at 1:34 PM, Don Guinn wrote:
>> I think this is close to what you want. It do
What is the definition of Cap being used here? If Cap is defined as
Cap=:[:
it works fine.
5!:5<'Cap'
[:
1 2([: *: +)3 4
16 36
1 2(Cap *: +)3 4
16 36
On Sun, Feb 12, 2012 at 10:30 AM, Dan Bron wrote:
> Linda wrote:
> >Cap
> > |domain error
>
> Yes, as I noted in my original mess
RE told me about this power operator thing, it
> > sounds so cool!
> > +:^:3 2
> >
> > NB. Darn, it's broken!
> >
> > Of course, I could be reading too much into your messages, and be totally
> > off-base about this "J Lite" thing. I
Can the window size be queried? Can a change is window size cause an event
in J?
On Sun, Feb 12, 2012 at 2:54 AM, bill lam wrote:
> move and scale are work-in-progress but I cannot understand how
> they work in true wd.
>
> A workaround will be setting the size of child by yourself. eg.
>
> gl2
Given the string contains several groups of non-blanks, would each group
need to be surrounded with quotes and quotes within it doubled if not a
number, or only if it contained one or more quotes? Or should the string be
considered as one group? Again, when would quoting be needed?
On Sun, Feb 12,
I don't think you can. Cap is really unique. Not really a verb, but it is.
It changes the way other verbs work. Something that verbs shouldn't be able
to do.
On Fri, Feb 10, 2012 at 6:09 PM, Linda Alvord wrote:
> I've tried to define Cap but it seemed to overwhelm my laptop:
>
> This is the erro
Looks like in JHS TAB and several other characters are displayed as blanks.
4 u: i.16 16
┌┬┐├┼┤└┴┘│─
!"#$%&'()*+,-./
0123456789:;<=>?
@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]^_
`abcdefghijklmno
pqrstuvwxyz{|}~
¡¢£¤¥¦§¨©ª«¬®¯
°±²³´µ¶·¸¹º»¼½¾¿
ÀÁÂÃÄÅÆÇ
Another interesting property of monadic explicit verbs is that they do not
make x local. The global value of x is available.
f=:3 : 'x'
x=:'abc'
f 1
abc
x=:1 2 3
f 1
1 2 3
On Mon, Feb 6, 2012 at 10:54 AM, David Ward Lambert
wrote:
> Observations of 13 :'convertible explicit senten
applying the definition of @ to the expression without the / might make it
clearer for a beginner to see what is happening.
i=:(4 : '*:x+y')/
or
i=:(13 : '*:x+y')/
Rephrased from the dictionary:
Apply the dyad, "Square the sum of the left and right arguments", between
the items.
On Sun, Fe
Don't you need to change the x to y?
i=: 13 :'*:@+/y'
i i.4
456976
i=: 3 :'*:@+/y'
i i.4
456976
i=: 3 :'*:@+/x'
i i.4
676
On Sun, Feb 5, 2012 at 5:11 AM, Linda Alvord wrote:
> My goal has been to translate from expressions with @ to ones without it.
>
>
>
> f=: 13 :'x?@$y'
>
>
t; > a reflection matrix. The good news is, he never forgets applications,
> > and his presentation of the math is first rate: "I try to explain rather
> > than to deduce." You begin to respect eigenvalues and eigenvectors when
> > you see their application to system
This is a long one that may be turned into a J essay if I ever figure it
all out. I will not feel bad if you skip reading it.
A couple of weeks ago I dug up a topic I studied only enough to get through
a test in college. Eigenvalues. First, how is it spelled? Both Eigenvalue
and Eiganvalue work on
The rank of a fork is _ _ _ . You need rank 0 0 0 for the table.
cf =. ^<^~
cf b.0
_ _ _
cf =. (^<^~)"0
cf/~ i.10
0 1 1 1 1 1 1 1 1 1
0 0 1 1 1 1 1 1 1 1
0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0
0 0 1 1 1 0 0 0 0 0
0 0 1 1 1 1 0 0 0 0
0 0 1 1 1 1 1 0 0 0
0 0 1 1 1 1
Might want to get beginners a little comfortable with J before showing them
C. and A.
On Thu, Feb 2, 2012 at 7:56 PM, Linda Alvord wrote:
> I am rethinking my concern with @ and [: and am leaning toward using
> explicit definitions as a way of teaching J to beginners as a natural
> mathemat
gt; 02/02/2012 09:06 P7310004.lnk.JPG [d:\P7310004.JPG]
>3 File(s) 2,728,034 bytes
>0 Dir(s) 36,199,112,704 bytes free
>
> I deleted both the symlink and the hard link file and the original was not
> deleted.
>
> On 2/2/2012 8:37, D
I am hesitant to install this as if I get it wrong it could wipe out my
disk. I looked for ln.exe and found several sources, but I felt
uncomfortable downloading them since I knew little about the sources. So,
where did you get ln.exe? One source
http://schinagl.priv.at/nt/ln/ln.html, said
that req
a works like a real but it is still complex internally.
3!:0 a
16
On Sun, Jan 22, 2012 at 1:14 PM, Linda Alvord wrote:
> How can you create a number in the complex plane that happens to lie on the
> real axis? How do you keep its complexness?
>
> a=:(i.6)j.0
> a
> 0 1 2 3 4 5
>
> Even whe
The thing is that floor, ceiling, residue and antibase are related and all
should be handled by the same rules, whatever they may be.
On Sun, Jan 22, 2012 at 10:38 AM, Marshall Lochbaum wrote:
> I'm pretty sure I understand the definition, but I still don't get the
> rationale. Under my scheme th
This seems to me to be related to floor (<.) as well. Floor looks
at diagonals.
>From the dictionary:
The function <. can be viewed as a
tilingby rectangles of unit
area, all arguments within a rectangle sharing the
same floor . One rectangle
has vertices at 1j0 and 0j1, with the other side passi
Look at cut (;.). It groups neighbors, although it does in in a rectangular
fashion you can get it to give you a group of potential neighbors from
which you select only those which you want to use. The display below uses
box to show the grouping, but it could be your own verb to process the data.
i.3 3 3
0 1 2
3 4 5
6 7 8
9 10 11
12 13 14
15 16 17
18 19 20
21 22 23
24 25 26
(<0 1 2)|:i.3 3 3
0 13 26
(<0 1)|:i.3 3 3
0 12 24
1 13 25
2 14 26
2012/1/7 "Papp Erik Tamás"
> Hi,
>
> Some example of getting the main diagonal of square matrices:
>
> ]A=:2 2$1 2 3 4
> 1 2
> 3
Is teleconference going to be available?
On Wednesday, January 4, 2012, Devon McCormick wrote:
> Hi all -
>
> we're starting our regular meetings again this coming Tuesday.
>
> Hope to see some of you there!
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ---
Linda,
There is a general rule that should be followed in J programs: Don't use x
or y as a global name. The names x, y, m, n, u and v are kind of special.
You can use them for global names but you may not be able to see their
global values in explicit definitions as they are shadowed by local nam
Another way, but probably no better than the others.
;([,(<', '),])/Z
alpha, bravo, charlie
On Mon, Jan 2, 2012 at 9:25 AM, Raul Miller wrote:
> The initial transcript should have been:
>
>Z=: ;:'alpha bravo charlie'
>
>;:inv Z
> alpha bravo charlie
>
>}.;' ';"1,.Z
> alpha bravo
About Android from cell phone companies and those like the Kindle Fire - Is
the operating system really Android? Kindle is careful to make sure you
can't load apps from anyone but Kindle. Same for cell phone companies. In
addition, do they keep their devices up to date with the latest versions of
A
Linear representation (5!5) of a name is probably closest to []CR and there
are several ways to convert the text back to a definition, the most obvious
is Explicit (:).
On Sat, Dec 31, 2011 at 8:50 AM, Blake McBride wrote:
> Greetings,
>
> More than 25 years ago I wrote an IDE for APL. At the c
Load it like any other script. "load 'newFile.ijl'" will load it. It will
work like the not locked version except you cannot view any names defined
in it and it will not let execution be suspended in any verb or whatever
within the definition.
On Fri, Dec 30, 2011 at 5:52 PM, Blake McBride wrote:
abase=:**[:#:|
abase _77 1 0 _1 13
_1 0 0 _1 _1 0 _1
0 0 0 0 0 0 1
0 0 0 0 0 0 0
0 0 0 0 0 0 _1
0 0 0 1 1 0 1
#.abase _77 1 0 _1 13
_77 1 0 _1 13
The dictionary does not mention how #: handles negative numbers. It turns
out that it represents the number in twos-complement f
inverse is trivial (try ,: ) but a left inverse
> doesn't exist, because +/ discards information.
>
> Marshall
>
> On Fri, Dec 16, 2011 at 8:20 AM, Don Guinn wrote:
>
> > I don't understand what you mean by a right and left inverse to +/ .
> >
> > On T
7;s more the other
> way around. We use #: because it allows us to express a number in a
> different way which is useful for some applications.
>
> Marshall
>
> On Thu, Dec 15, 2011 at 8:19 AM, Don Guinn wrote:
>
> > Isn't the choice of the representation for #: re
Isn't the choice of the representation for #: result a lot like picking the
principle root?
%:*:_2
2
*:%:_2
_2
The solution to the first expression above should really be _2 2 but,
though more correct, is impractical in actual problem solving. A similar
thing occurs with circular functions.
The result from antibase2 is consistent with residue.
#.#: i:5
3 4 5 6 7 0 1 2 3 4 5
(2^3)| i:5
3 4 5 6 7 0 1 2 3 4 5
On Tue, Dec 13, 2011 at 7:32 AM, Dan Bron wrote:
> I'm with you on the desire for simple comparison. But I can't quite see
> where the trouble arises.
>
> Can you give an
r at least not inexperienced users to
understand and read that line.
Those kinds of lines without explanations do often no good,
2011/12/10 Don Guinn
> Why is it that we have all kinds of courses teaching how to write programs
> but none for reading?
>
>
Why is it that we have all kinds of courses teaching how to write programs but
none for reading?
_
From: Linda Alvord
Sent: Fri Dec 09 20:03:44 MST 2011
To: 'Programming forum'
Subject: Re: [Jprogramming] Oblique Road to Success!
By asking about whe
tion in
> jhelp should already give very clear procedures of how to use plot in jhs.
>
> Вск, 04 Дек 2011, Don Guinn писал(а):
> > Plot looking really good.
> >
> > A few problems I ran into. First, the demos use several definitions that
> > are created when J6
Plot looking really good.
A few problems I ran into. First, the demos use several definitions that
are created when J6 plot is loaded but not in J7. They are: sin, cos, step
and range.
Second, for some reason I don't have ~Demos defined. I defined ~Demos to be
'c:/j701/addons/graphics' but the lo
dice =: (6 6 6#:12 145 157 185 197 215)<@:{"1 2(#:i.6){' o'
toss=: dice {~ 2 10 ?@$6
4!:0<'toss'
0
toss is a noun. Therefore it will always be the same value until you rerun
dice.
2011/12/2 Linda Alvord
> Thanks to "aai" I got this to work. However, as all the others before
> it, it
>
An Anderoid service can continue to run in the background.
_
From: Nick Simicich
Sent: Sun Nov 20 20:00:10 MST 2011
To: Programming forum
Subject: Re: [Jprogramming] Wrapping lines in the script editor
This begs the question, "what operating system d
Debugger gets really confused when you try to debug an explicit definition
within a tacit one.
On Wed, Nov 16, 2011 at 8:49 AM, Devon McCormick wrote:
> Since you know you want the function to applied with rank 1, you should
> probably build it into the definition, e.g.
>
> timeToMove=: ((time
Use (3!:1) and (3!2) to write and read the sparse array. I made a test
script to insert several thousand numbers into your array. I just
hard-coded numbers in the test, but it should give you the idea. The script
runs in a fraction of a second on my machine.
The last two lines show something of wh
ts runs the string twice once for space and a second time to get the time.
Which of course, displays the script twice. ts2 runs the string only once.
The time is off a little as it includes the handling of space calculations.
ts2=:3 : '6!:2''((2) 1!:2~ 7!:2) y'''
On Sat, Nov 5, 2011 at 9:08 AM
1. First, associate the script file type .ijs to be run with j.exe
2. Write a script that can run without anything preloaded. I just made a
script containing the following for a test:
(11!:0)'mb "Test" "Hello World"'
3. Make a shortcut to the script. Put it on the desktop or where ever you
want
What are the values of r, c and m? But I think that the outer loop is being
run a number of times but the inner loop doesn't execute after the first
time through as c is never reset.
On Tue, Nov 1, 2011 at 6:54 PM, David Vaughan
wrote:
> I was just writing a function that has a nested while loop,
This may be totally incorrect, but back in working with APL I heard
somewhere that APL deliberately avoided assuming any order to characters as
different systems used different collating sequences. Maintain system
independence. It forced APL programs to convert characters to numbers
specifying the
'
3
|.&.U2N'ӒAÁú' NB. Things work like they do in ASCII only strings.
úÁAӒ
|.'ӒAÁú'
�Á�A��
2011/10/30 Björn Helgason
> How would you decide which string is bigger?
>
>3 u: 7 u: 'ӒAÁú'
> 1234 65 193 250
> 3 u: 7 u: 'abs
By "string" I assume you mean "literal". = only gives equal or not equal
for literals. > and like give domain errors for literals. However, grade
(/:) does perform a sort on literals.
ASCII literals work pretty well with grade; however, if any Unicode are in
the literal things get messy. When I ne
Looks base value input is pretty smart.
16be6.f82
230.969
But here are some more interesting expressions for base value input.
16be6f82
946050
10be6f82
147582
10#.14 6 15 8 2
147582
1be6f82
45
+/14 6 15 8 2
45
_1be6f82
17
-/14 6 15 8 2
17
0.1b12345
5.4321
On Sun, Oct
This might give you a start. This doesn't address negative numbers nor
rationals. But then there are several ways one might want to handle them.
('0123456789abcdef'{~16.^:_1)123 1234567
7b
12d687
On Sun, Oct 30, 2011 at 6:50 AM, David Vaughan wrote:
> How could I convert decimal number
Although the definition is a string of characters, you really need to think
of it as a string of J words.
;:'g=: (%):*'
+-+--+-+-+--+-+
|g|=:|(|%|):|*|
+-+--+-+-+--+-+
Notice that the right paren and colon are grouped as a word. So the parens
are not balanced and the word ): is not a valid pr
The tacit verb created will be correct for the dyadic use of the verb;
however, the tacit verb can be used monadically where the explicit
definition can only be used dyadically. The monadic use may or may not give
desired results.
13 : 'x+y'
+-+
|+|
+-+
On Thu, Oct 27, 2011 at 10:06 AM, Marc S
Define a verb that works for a scalar, then applying it as rank zero.
([:<[:/:10.^:_1)"0 a,b
+-+-+
|1 0 2 3 4|4 2 3 1 0|
+-+-+
2011/10/26 Linda Alvord
> Can anyone write a tacit version of l without using &. ?
> The definition m works but I'm not sure
Started dropping characters from a. to see what makes it fail.
1{a. gives the "Index Size Error". All other characters do not give errors.
2011/10/26 Björn Helgason
> sp init ok
>
> a.
>
> is behaving strange
> opening a new tab shows the result
>
> 2011/10/26 Eric Iverson
>
> > I have fixed t
desiredverb=:[:+./3*./\]
On Thu, Oct 13, 2011 at 4:56 PM, David Vaughan wrote:
> How could I test if a boolean list contains at least n consecutive 1's?
>
> e.g. for 3 consecutive 1's:
>
> desiredverb 0 1 1 1 0 0
> 1
> desiredverb 0 1 1 0 1 1
> 0
> desiredverb 1 1 1 1 1 0
> 1
>
> Thanks.
>
I'm afraid I am an "F".
On Sat, Oct 1, 2011 at 1:26 PM, Raul Miller wrote:
> On Sat, Oct 1, 2011 at 11:44 AM, Ian Clark wrote:
> >> Personally, most of my "thinking in J" uses my visual/spatial
> >> reasoning rather than my verbal/grammatical reasoning.
> >
> > An old colleague of mine, Dr Nick
so is being able to read the programming
> language, whatever it is." Don't maintain a program after a year. If it is
> not broke, don't fix it. If it is broke, don't fix it either. Don't study
> software that doesn't work, but write some software that does work.
The use of tacit in this case is to allow access to global x and y which is
not a normal type of problem in an application. This one is unusual in that
it is actually a mixture of an explicit part within a tacit part. The
reference to locally defined x is long after the list of global names
defined
To look at other locales simply put in the locale
nl_whatever_ ''
On Mon, Sep 26, 2011 at 4:31 PM, Mark Niemiec wrote:
> Unfortunately, 4!:1 always works on the currently visible namespace, and
> there is no option to explicitly make it look at a specific locale (and
> ignore local names). H
t;
> It takes finds the percentage of items in the list which are prime.
>
> On 25 Sep 2011, at 20:04, Don Guinn wrote:
>
> > verb=.<
> > (verb&,)\_4,\3 5 7 9 13 17 21 25 31 37 43 49
> > +---+---
verb=.<
(verb&,)\_4,\3 5 7 9 13 17 21 25 31 37 43 49
+---+---+---+
|3 5 7 9|3 5 7 9 13 17 21 25|3 5 7 9 13 17 21 25 31 37 43 49|
+---+---+---+
On Sun, Sep 25, 2011 at 12:44 PM, David Vaughan <
pu
atol=:13 :'0".,'' '',.":y'
atol
0 ". [: , ' ' ,. ":
On Mon, Sep 12, 2011 at 6:55 PM, David Vaughan wrote:
> Ah thanks, I need to read the dictionary pages more carefully for those
> little things.
>
> A couple of times I've found myself wanting to convert a number into a list
> of its digi
Never thought of that. I like it.
On Fri, Sep 9, 2011 at 8:31 PM, bill lam wrote:
> Your solution seems APLish, J got dyad -.
> ' '-.~":>:i.20
>
>
> Птн, 09 Сен 2011, Don Guinn писал(а):
> > You probably saw the method of boxing each number achieves wh
'0' 8!:2]>:i.20
1234567891011121314151617181920
--
For information about J forums see http://www.jsoftware.com/forums.htm
You probably saw the method of boxing each number achieves what you are
looking for. A different approach you might prefer is to let format (":)
separate the numbers with blanks then remove the blanks.
(]#~' '&~:)":>:i.20
1234567891011121314151617181920
I think that the limit on the length of
>,{ (i.2);(i.4);(i.2)
0 0 0
0 0 1
0 1 0
0 1 1
0 2 0
0 2 1
0 3 0
0 3 1
1 0 0
1 0 1
1 1 0
1 1 1
1 2 0
1 2 1
1 3 0
1 3 1
But how about ([#:[:i.*/)S
On Mon, Sep 5, 2011 at 7:53 AM, Steven Taylor wrote:
> I got curious about producing all elements of an array of the shape S.
>
> This is what I c
Crashes in J602 for Windows also.
On Sun, Sep 4, 2011 at 12:54 PM, Ian Clark wrote:
> In j602 (on the Mac, untested under Windows) the following results in
> a hard crash:
>
> _. ". '1r3'
>
> In j701 it gives a more docile: NaN error.
>
> Is j602 frozen now? If not, does this fall to be fixed?
>
That is similar to the problem I have with the J tutorials. I have to go
through the whole thing to find what I'm looking for. And it is difficult to
go back to re-read parts, not really easy in a ijx window. In JHS I can have
multiple ijx windows so I can experiment without losing the text of the
A findinRows_EX BB'
> 0.0610122 11776
>
> Marshall
>
> On Fri, Aug 19, 2011 at 5:55 PM, Don Guinn wrote:
>
> > Haven't figured out how to make findinRows_EX tacit yet, but good if
> > performance and simplicity are desired.
> >
> > A=:'
Haven't figured out how to make findinRows_EX tacit yet, but good if
performance and simplicity are desired.
A=:'CTGGTTGAT','GTAGTCATA','CATGTCTAA','TCGAAAGTT',:'CCGGAGAAG'
B=:'TAGT'
ts' AA findinRows_ML BB'[AA=: 500 $,:A [BB=:500$B
4.48007 2.08916e8
ts' AA findinRows_SH BB'
0.567838
The simplest way is to give the definition zero rank.
(=([:+/((0=((|~)([:>:[:i.-&1)))#([:>:[:i.-&1"0]10 12 28
0 0 1
On Tue, Aug 9, 2011 at 1:54 PM, Uriel Zylbermann wrote:
> Hi, I'm new to J so my programs might be a bit more complicated than
> needed,
> I would be happy if you could tol
The verbs input_jfe_ and output_jfe_ are run by the J engine. And anything
done by those verbs calling other J names are part of the J memory while
preparing to pass the input and output between J and gtk or jhs.
On Thu, Aug 4, 2011 at 5:47 PM, bill lam wrote:
> Then there should be no memory li
Don't forget that some primitives have unique obverses like d. (Derivative).
On Thu, Aug 4, 2011 at 3:33 PM, Murray Eisenberg wrote:
> Some years ago at a J conference I gave a talk comparing J with
> Mathematica. One of the things I considered was the number of built-in
> objects.
>
> One of the
jtk and jfe keep history lists of input and output. The output can get
pretty large before it starts getting truncated. I tried 7!:0'' in jhs and
saw free space dropping by around 3k each time I ran it. I also ran 3+4 and
it dropped the available space by around 3k too.
I noticed that after runnin
It depends on how you are accessing it. If you are processing a small area
of the file at a time, then moving to other areas, then paging can handle it
quite nicely. But if you are hitting all parts of the file randomly then the
paging can get out of hand.
The file simply becomes an extension of v
You need something between the j and k. Try:
j;k [j=.0 [ k=.1
┌─┬─┐
│0│1│
└─┴─┘
On Thu, Jul 28, 2011 at 10:45 AM, Aai wrote:
> < j k [j=.0 [ k=.1
> |syntax error
> | < 0 1
> ┌───┐
> │0 1│
> └───┘
> < j, k [j=.0 [ k=.1
> ┌───┐
> │0 1│
> └───┘
>
>
> Hallo PackRat, je schreef op 28-07-11 18:16
Actually it would be invoked no times as the expression results in a verb
waiting for a noun argument.
On Mon, Jul 11, 2011 at 10:44 AM, mijj wrote:
> how many times would the verb [v] be invoked in the following:
>
> v^:(1 2)
>
> would it be:
>once for the [1], and then twice for the [2].
>
Given a single processor in a computer the computations are sequential. But
you don't know or care what that sequence is. Right now J does not support
spreading computations over multiple processors when available. But if that
were to change it would not require any changes on the part of the J
pro
10#.9 8 7 6 5 4 3 2 1
987654321
On Fri, Jul 8, 2011 at 7:04 AM, David Vaughan
wrote:
> Yeah, it is for PE - ive done the other pandigital problems in C, but i
> wanted to try this one in J.
> My biggest problem seems to be trying to flatten the pandigitals. E.g.
>
> 9 8 7 6 5 4 3 2 1
>
> I nee
t say you need the single quotes. An I missing something or do
>> the help pages need updating?
>>
>> Thanks for your help.
>> _______
>>
>> David Vaughan
>>
>> On 6 Jul 2011, at 13:29, Don Guinn wrote:
>>
>> > Mo
n time:
> 6!:2 y
> It doesn't say you need the single quotes. An I missing something or do the
> help pages need updating?
>
> Thanks for your help.
> ___
>
> David Vaughan
>
> On 6 Jul 2011, at 13:29, Don Guinn wrote:
>
Monadic ;: takes literal arguments. Convert the results to character.
;: ": 1 2 3 + 4 5 6
+-+
|5 7 9|
+-+
It boxes J words or tokens, close, but not quite English words. In this case
"1 2 3" is a single word in J.
;: 'The result is ' , ": 1 2 3 + 4 5 6
+---+--+--+-+
|The|resu
How about
u6i=:a.{~256 256#:3 u:]
But I am a little confused when 4 u: says that wchar has a range of _65536
to 65535 as representing _65536 requires 16 bits in addition of the sign. No
way to convert the negative values to a pair of characters.
On Sun, Jul 3, 2011 at 2:32 PM, Raul Miller w
1 - 100 of 479 matches
Mail list logo