Mandelbrot set/J/Output: Difference between revisions

no edit summary
(Moving output from the task page. Although it doesn't take up much room, it has a lot of bytes.)
 
No edit summary
Line 1:
Given a jhs (version 7 of j) with:
 
<lang j>mcf=: (<: 2:)@|@(] ((*:@] + [)^:((<: 2:)@|@])^:1000) 0:) NB. 1000 iterations test
domain=: |.@|:@({.@[ + ] *~ j./&i.&>/@+.@(1j1 + ] %~ -~/@[))&>/
load'graph'</lang>
 
the sentence
 
<lang j> viewmat mcf "0 @ domain (_2j_1 1j1) ; 0.1 NB. Complex interval and resolution</lang>
produces:
 
{| style="border-collapse: collapse; border-spacing: 0; font-family: courier-new,courier,monospace; font-size: 11px; line-height: 1em; padding: 0px"
| style="background-color:#000000; color:#000000;" | ww
6,951

edits