No. Compare with Miller.

R.E. Boss


> -----Original Message-----
> From: [email protected] [mailto:programming-
> [email protected]] On Behalf Of Linda Alvord
> Sent: dinsdag 20 januari 2015 18:55
> To: [email protected]
> Subject: Re: [Jprogramming] Using ,: to prepend bits
> 
>  Also:
> 
>  |."1(#:3),:#:14
> 0 0 1 1
> 0 1 1 1
> 
> Linda
> 
> 
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Raul
> Miller
> Sent: Tuesday, January 20, 2015 8:59 AM
> To: Programming forum
> Subject: Re: [Jprogramming] Using ,: to prepend bits
> 
> I am not quite sure what you are asking.
> 
> That said, observe:
>    f,:g
> 1 1 0 0
> 1 1 1 0
>    f,:&.(|."1) g
> 0 0 1 1
> 1 1 1 0
> 
> Thanks,
> 
> --
> Raul
> 
> On Tue, Jan 20, 2015 at 8:54 AM, Jon Hough <[email protected]> wrote:
> > This is a little problem I'm having.
> >
> > Let
> > f =: #: 3
> > g =: #: 14
> >
> > If I do f ,: g
> >
> > I get
> >
> > 1 0 0 0
> > 1 1 1 0
> >
> > Here the shorter number , f, has a zero post-pended to match the shape
of
> g.
> > I would like to find an equivalent verb that prepends the zero.
> > i.e. , in the case of the above f and g
> >
> > f some_verb g
> > gives
> > 0 1 0 0
> > 1 1 1 0
> >
> > Any help appreciated.
> >
> > Jon
> >
> >
> > ----------------------------------------------------------------------
> > For information about J forums see
> http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 
> 
> ----------------------------------------------------------------------
> 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