Mandelbrot set/J/Output: Difference between revisions

m
Fix syntaxhighlight tag
No edit summary
m (Fix syntaxhighlight tag)
 
Line 1:
Given a jhs (version 7 of j) with:
 
<langsyntaxhighlight lang="j">mcf=: (<: 2:)@|@(] ((*:@] + [)^:((<: 2:)@|@])^:1000) 0:) NB. 1000 iterations test
domain=: |.@|:@({.@[ + ] *~ j./&i.&>/@+.@(1j1 + ] %~ -~/@[))&>/
load'graph'</langsyntaxhighlight>
 
the sentence
 
<langsyntaxhighlight lang="j"> viewmat mcf "0 @ domain (_2j_1 1j1) ; 0.1 NB. Complex interval and resolution</langsyntaxhighlight>
produces:
 
892

edits