To clarify this a bit.
It is possible to download all addons to the Android.
GTK is not running on the Android - at least not now.
Many of the Addons are GTK specific and no need to download them and it
might cause confusion.
Then on the Android you do have two Guis and one is native Android an
http://www.jsoftware.com/jwiki/Essays/Collatz%20Conjecture
On Thu, Oct 25, 2012 at 5:12 AM, Stefan Stankovic
wrote:
> I have just started learning J and I think the language is wonderful. It is
> breathtaking.
>
> I have a question about a basic thing-how can I create a monad (preferably
> tacit)
collatz =: ([: $: (] , -:@{:)`(] , 1 + 3 * {:)@.(2&|@{:))`]@.(1 = {:)
collatz 1
1
collatz 2
2 1
collatz 3
3 10 5 16 8 4 2 1
collatz 4
4 2 1
collatz 5
5 16 8 4 2 1
collatz 6
6 3 10 5 16 8 4 2 1
Above uses Agenda @. and Self-Reference $: and test for oddness 2&| borrowed
from P
Data from 'stitching matrices'
'A B'=:3|L:0(([:http://www.jsoftware.com/forums.htm
To clarify further, my researches suggest that GTK is never going to make
it to the android.
Having said that, Bill Lam is doing some remarkable pre-alpha work
implementing a scriptable gui layer for the android. This api goes as far
as to expose the whole android interface to scripting. This open
Also, borrowed from http://rosettacode.org/wiki/Hailstone_sequence#J
hailseq=: -:`(1 3&p.)@.(2&|) ^:(1 ~: ]) ^:a:"0
Examples:
hailseq 4
4 2 1
hailseq 5
5 16 8 4 2 1
This is similar to the collatz^:a: mentioned in the wiki page.
--
Raul
On Thu, Oct 25, 2012 at 5:44 AM, Brian Schott wro
In retrospect, I probably should not have used #. and instead done
something like this:
select. *nc;:'u v'
case. 0 0 do. assert. 0 NB. invalid
case. 0 1 do. m v y NB. left bond
case. 1 0 do. y u n NB. right bond
case. 1 1 do. ([: u v)"v y NB. compose monad
Or perhaps I should
On Wed, Oct 24, 2012 at 10:24 PM, Linda Alvord wrote:
> You say below:
>
> "Anyways, I'm having a problem with "I was told that I was using &
> dyadically so it was compose." because & in =&{: is compose but not because &
> was being used dyadically."
>
> Isn't =&{: B a case where & is com
Does anyone know if there is any way to link the table of contents in a
.pdf generated by the publish package in J to corresponding pages within
the document?
--
For information about J forums see http://www.jsoftware.com/forums.ht
In a post under "stitching matrices" I used trace poorly to distinguish
the hook - % from the fork [ - %@] (these always produce the same
results given the same data). Here is what I should have done
load '~addons/general/misc/trace.ijs'
f
- %
g
[ - %@]
f 4
3.75
g 4
3.75
trac
AFAIK, there is linking only from the section index, shown on the left. The
package would have to be extended to support linking from the TOC.
On Fri, Oct 26, 2012 at 12:04 AM, Casey Screeton
wrote:
> Does anyone know if there is any way to link the table of contents in a
> .pdf generated by the
T and j are slow, but the tacit version is nice.
'A B'=:3|L:0(([:mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Aai
Sent: Thursday, October 25, 2012 8:59 AM
To: Programming forum
Subject: [Jprogramming] Manipulating ranks (was: stitching matrices)
Data from 'stitching matrices'
'A
j=: 13 :';x([:<(=&{:)"1#(, }.)"1)"1 _ y'
k=: 13 :';x((=&{:)"1 <@#(, }.)"1)"1 _ y'
j
[: ; ([: < =&{:"1 # (, }.)"1)"1 _
k
[: ; (=&{:"1 <@# (, }.)"1)"1 _
That may it! I finally saw <@#
Linda
-Original Message-
: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@
Hi
I finally succeeded in starting J602 in MacOSX 10.8 by attaching several
lines in jwd32 shell script except plot function.
#!/bin/sh
# problems - see J bin/install.htm
export JAVA_HOME='/Library/Java/Home'
export JAVA_OPTS='-Dfile.encoding=UTF-8'
cd "`dirname "$0"`/.."
java -d32 -Xss800 -
Not sure why IFWIN has not been defined in your case. It should be
0 for non-windows platforms.
please try update base library and restart J.
Птн, 26 Окт 2012, Toshinari Kamakura писал(а):
> Hi
>
> I finally succeeded in starting J602 in MacOSX 10.8 by attaching several
> lines in jwd32 shell
Hi
Thanks a lot. It is a very good comment.
Updating the base library and restart J resulted in success.
Toshinari Kamakura
2012/10/26 bill lam
> Not sure why IFWIN has not been defined in your case. It should be
> 0 for non-windows platforms.
>
> please try update base library and restart
16 matches
Mail list logo