I wonder what promoted the booleans 0s in XX=: <0 0  to the integer
zeros that we see in the definition of Shearing?

This doesn't happen for me on

   JVERSION
Engine: j901/j64avx2/darwin
Beta-p: commercial/2019-11-06T09:55:37
Library: 9.01.13
Qt IDE: 1.8.4/5.12.5
Platform: Darwin 64
Installer: J901 install
InstallPath: /users/rauldmiller/j901
Contact: www.jsoftware.com

Thanks,

-- 
Raul

On Fri, Nov 15, 2019 at 9:40 PM Henry Rich <henryhr...@gmail.com> wrote:
>
> 00 is integer, 0 is boolean.  In the display of a verb the system will
> use the representation that matches the definition.
>
> Henry Rich
>
> On 11/15/2019 9:38 PM, David Lambert wrote:
> > JVERSION
> > Engine: j901/j64avx2/linux
> > Beta-m: commercial/2019-10-02T09:16:34
> > Library: 9.01.08
> > Platform: Linux 64
> > Installer: unknown
> > InstallPath: /usr/share/j/9.01
> > Contact: www.jsoftware.com
> >
> >    [I4 =: =i.4
> > 1 0 0 0
> > 0 1 0 0
> > 0 0 1 0
> > 0 0 0 1
> >
> >   ] XX=:<0 0
> > ┌───┐
> > │0 0│
> > └───┘
> >
> >    Shearing =: 1 : 'm}&I4'
> >
> >    XX Shearing  NB. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> > (<00 0)}&(4 4$1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1)
> >
> > ----------------------------------------------------------------------
> > 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