This doesn't look like any of the lines involving the "t" in the discussion
I started about "Forward Fill": are you sure it's the same variable?

As Linda pointed out, there's a large table of numbers (which she labels
"A") used to select from "t" which, as shown here, has only 14 elements.
However, the numbers in "A" are clearly greater than 13 which is the
maximum we can use to select from "t".

   0{ +/\"1 ]0,.15+#:i.2^14
0 15 30 45 60 75 90 105 120 135 150 165 180 195 210


On Tue, Jan 6, 2015 at 10:09 AM, Linda Alvord <lindaalv...@verizon.net>
wrote:

> A recent post used this t
>
> t=: '';'Hi';'';'';'Ho';'';'hee';'';'';'haw';'';'';'Yo';''
>
> Since t is the far right symol I need to know what you are using for t
>
> When I enter this with that version of t it didn't go well.
>
> >./ +/"1 (+/\"1 ]0,.15+#:i.2^14){,t
> |index error
> |   >./+/"1(+/\"1]0,.15+#:i.2^14)    {,t
>
> From the index error there is a problem within the parentheses
> So:
>
> >./+/"1(+/\"1]A=:0,.15+#:i.2^14)    {,t
>    A=:0,.15+#:i.2^14
>   $A
> 16384 15
>
> A is a series of numeric events.  Start from the right.
>
> 2^14
> 16384
>    i.16384
>
> This is where it takes off....
>
> Good Luck.
>
> Linda
> -----Original Message-----
> From: programming-boun...@forums.jsoftware.com
> [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of oventarb
> oventarb
> Sent: Tuesday, January 6, 2015 9:15 AM
> To: programm...@jsoftware.com
> Subject: [Jprogramming] Help me understand line of code:
>
> Help me understand line of code:
>
> >./ +/"1 (+/\"1 ]0,.15+#:i.2^14){,t
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> 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

Reply via email to