Thanks. 

Yes when I'm explaining multiplication to elementary students in Grade 3.  
Actually as a "math" type I use it almost exclusively and only look at the 
tacit version rarely.

Linda
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Devon McCormick
Sent: Wednesday, January 21, 2015 9:22 AM
To: J-programming forum
Subject: Re: [Jprogramming] Need help going from tacit to direct definitionI 
want to write gg in direct definition as g=: 13 ::

Do you find the "13 : ..." form clearer than tacit?
In any case, this should do the trick:
   13 : '(<"1 y)$&.><<'' '''
(<<' ') $&.>~ <"1
   (((<<' ') $&.>~ <"1) -: gg) A
1


On Wed, Jan 21, 2015 at 8:55 AM, Linda Alvord <[email protected]>
wrote:

> I want to write gg in direct definition as  g=: 13 ::
>
>
>
>    f=: 13 :'(>:i.x),"0 / >:i.y'
>
>    A=:3 f 4
>
>    gg=:([: < (<' ') $~ ])"1
>
>    gg A
>
> ----T-----T-------T---------┐
> │--┐│--T-┐│--T-T-┐│--T-T-T-┐│
> ││ │││ │ │││ │ │ │││ │ │ │ ││
> │L--│L-+--│L-+-+--│L-+-+-+--│
> +---+-----+-------+---------+
> │--┐│--T-┐│--T-T-┐│--T-T-T-┐│
> ││ │││ │ │││ │ │ │││ │ │ │ ││
> │+-+│+-+-+│+-+-+-+│+-+-+-+-+│
> ││ │││ │ │││ │ │ │││ │ │ │ ││
> │L--│L-+--│L-+-+--│L-+-+-+--│
> +---+-----+-------+---------+
> │--┐│--T-┐│--T-T-┐│--T-T-T-┐│
> ││ │││ │ │││ │ │ │││ │ │ │ ││
> │+-+│+-+-+│+-+-+-+│+-+-+-+-+│
> ││ │││ │ │││ │ │ │││ │ │ │ ││
> │+-+│+-+-+│+-+-+-+│+-+-+-+-+│
> ││ │││ │ │││ │ │ │││ │ │ │ ││
> │L--│L-+--│L-+-+--│L-+-+-+--│
> L---+-----+-------+----------
>
>
>
> Linda
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm




-- 
Devon McCormick, CFA
----------------------------------------------------------------------
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