Sorry, I didn't include mlk definition.

load 'viewmat'
m1k=: (512%~512-~i.1024)j.~/419%~_825+i.1024 
13 : 'x (+*:`] @. (2:<|)"0) y'
mandel2=: + *:`]@.(2: < |)"0
mm=. m1k mandel2^:3]m1k
viewmat mm
GRB=:1 0 2{"1 (#:i.8){0 255
GRB viewmat mm

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Wednesday, November 26, 2014 4:25 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Embarassing Problem

Compare these two images.

load 'viewmat' 
13 : 'x (+*:`] @. (2:<|)"0) y'
mandel2=: + *:`]@.(2: < |)"0
mm=. m1k mandel2^:3]m1k
viewmat mm
GRB=:1 0 2{"1 (#:i.8){0 255
GRB viewmat mm

In the second one, black is where the smallest numbers are located and the
white is the location of the largest numbers.

Linda




I-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Devon
McCormick
Sent: Tuesday, November 25, 2014 3:19 PM
To: J-programming forum
Subject: Re: [Jprogramming] Embarassing Problem

I figured it out: the left argument remains constant.

   13 : 'x (+*:`] @. (2:<|)"0) y'
+ *:`]@.(2: < |)"0
   mandel2=: + *:`]@.(2: < |)"0
   mm=. m1k mandel2^:3]m1k


--
Devon McCormick, CFA
----------------------------------------------------------------------
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