[Jprogramming] Embarassing Problem
Linda Alvord
lindaalvord at verizon.net
Wed Nov 26 09:49:21 UTC 2014
Using jqt, be sure to maximize the images for beautiful displays.
Linda
-----Original Message-----
From: programming-bounces at forums.jsoftware.com
[mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Wednesday, November 26, 2014 4:38 AM
To: programming at jsoftware.com
Subject: Re: [Jprogramming] Embarassing Problem
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-bounces at forums.jsoftware.com
[mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Wednesday, November 26, 2014 4:25 AM
To: programming at 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-bounces at forums.jsoftware.com
[mailto:programming-bounces at 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
More information about the Programming
mailing list