This is the S that doesn't work.

]S=: (0=B)+.0=|.|:|.B=:<./~A=:i.11

Linda
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Linda Alvord
Sent: Saturday, November 8, 2014 5:18 AM
To: [email protected]
Subject: [Jbeta] GRB problem

Every way I define S I get an incorrect image.  Can you write an S that
displays correctly?  My result is a colid black square.

 

load 'viewmat'

GRB=:1 0 2{"1 (#:i.8){0 255 

 

   A=:i.11

  ]S=:

1 1 1 1 1 1 1 1 1 1 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 1
1 1 1 1 1 1 1 1 1 1 1

  

   GRB viewmat S

 

----------------------------------------------------------------------
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