a=:'a good way to start the day'
<;.1 a
---------T--------T---------T--┐
│a good w│ay to st│art the d│ay│
L--------+--------+---------+---
state=: 3 2 2$ 1 1 2 1 2 0 2 2 1 0 2 2
(0;state;<a.={.a);:a
---------T--------T---------T--┐
│a good w│ay to st│art the d│ay│
L--------+--------+---------+---
Maybe you'll find my "notes" handy.
Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Elton Wang
Sent: Friday, May 24, 2013 9:35 AM
To: [email protected]
Subject: [Jprogramming] sequential machines examples
Are there any more examples on using sequential machines in J? I checked the
Jlab examples, but still feel intrigued to find it in core J.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm