Linda, thanks.  This would be a good addition to add to the wiki as
art. See 
http://jsoftware.2058.n7.nabble.com/Replace-one-item-of-a-list-tt63230.html#a63317
for reference

On Fri, Sep 12, 2014 at 11:27 AM, Linda Alvord <[email protected]> wrote:
> Install J.  Start J. Copy and paste code into a jqt new temp.  Run code.
>
>
>
> load 'viewmat'
>
> GRB256=:1 0 2({"1) 256 256 256#:i.256^3
>
> Q=:?(1000 1000)$ 16777216x
>
> GRB256 viewmat Q;'Q'
>
> 1000*1000*256x^3
>
>
>
> Here's the result in the terminal:
>
>
>
> load 'viewmat'
>
> GRB256=:1 0 2({"1) 256 256 256#:i.256^3
>
> Q=:?(1000 1000)$ 16777216x
>
> GRB256 viewmat Q;'Q'
>
> 1000*1000*256x^3
>
> 16777216000000
>
>
>
> The image has 1 million squares.  Each square is chosen from a palette with
> almost 17 million colors so this should be likely to match another such
> images with chances of 1 to 17 trillion.
>
>
>
>
>
> ----------------------------------------------------------------------
> 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