odometer=: #: i.@(*/)

   x=: 12 12 12 #: i. 12^3
   y=: odometer 12 12 12
   x -: y
1

http://www.jsoftware.com/jwiki/Essays/Odometer



----- Original Message -----
From: David Ward Lambert <[email protected]>
Date: Friday, December 18, 2009 11:16
Subject: [Jgeneral] What is equivalent train?
To: General forum <[email protected]>

> Kind helpful people;
> 
> I evaluate
> 
>    12 12 12 #: i. 12^3
> 
> and observe that "12" is a common argument.  Therefor this 
> can be
> rewritten as a train.  What, please, is the train?  I 
> suppose it could
> also be dyadic, as in
> 
>    3(train)12
> 
> Thanks,
> Dave.
> 
> 
> -----------------------------------------------------------------
> -----
> For information about J forums see http://www.jsoftware.com/forums.htm
> 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to